Bug 4547 - Shift-F2 and similar keyboard combinations does not work
Summary: Shift-F2 and similar keyboard combinations does not work
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: 3.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.1.0
Assignee: Peter Åstrand
URL:
Keywords: astrand_tester
Depends on:
Blocks:
 
Reported: 2013-02-26 13:46 CET by Peter Åstrand
Modified: 2013-05-27 14:38 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2013-02-26 13:46:29 CET
Shift-F2 and similar keyboard combinations does not work. This is because the keyboard map on the server looks like:

keycode  68 = F2 XF86_Switch_VT_2

Our keyboard map has been auto generated from a Fedora 16 machine. However, xmodmap is notorious for producing incorrect output. For example, on my CentOS 6 machine, the output is:

keycode  68 = F2 XF86Switch_VT_2 F2 XF86Switch_VT_2

This is also incorrect; Shift-F2 does *not* generate XF86Switch_VT_2. On a Fedora 18 machine, however, xmodmap produces a different output:

keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 XF86Switch_VT_2

This is "better", but we will still need to tweak our scripts to deal with this non-traditional format. The other option would be to search for a modern Linux distribution where xmodmap works correctly, in the traditional way.
Comment 1 Peter Åstrand cendio 2013-02-26 15:05:37 CET
Should be fixed in r26694, using xmodmap output from Ubuntu 12.04 instead of Fedora 16. Need to test with next nightly build.
Comment 2 Peter Åstrand cendio 2013-02-27 12:46:29 CET
Build 3849 seems to work fine. Hotfix published at:

http://www.cendio.com/downloads/updates/b4547/
Comment 3 Peter Åstrand cendio 2013-05-27 14:38:25 CEST
Build 3963 uses XKB, works. Tested with xev, also checked xmodmap -pke.

Note You need to log in before you can comment on or make changes to this bug.