Closed totaam closed 11 years ago
Please specify which OS you are using on both client and server, as well as the output of:
setxkbmap -print
"setxkbmap -query
"xmodmap -pke
"xmodmap -pm
" on client (if appropriate), keyboard layout information otherwise.And also, any server log you may have. And how you installed the software (package or from source), library versions (gtk, x11), etc
Obviously, this is not something anyone has experienced during testing so there must be something different about your setup.
thanks for the prompt answer. I found out, this behaviour only appears after swapping Alt-Super on Linux Mint 12 in Virtualbox on a Macbook Air. Here is my xmodmap:
! Exchange left Alt and left Win remove mod1 = Alt_L remove mod4 = Super_L add mod1 = Super_L add mod4 = Alt_L ! Steve, your keyboard sucks
However, this was working fine before, with xpra version 0.0.7
Does this work if you swap before launching xpra? (or re-launch the client?) xpra is meant to detect changes to the keymap, but maybe it does not?
Any idea which version still worked from the 0.0.7 branch?
I usually do the swap before I launch xpra. Relaunching the client does not help. Same if I do the swap while the client is running and connected to the server (running locally on the same machine) Actually, it might not even have worked before, I just tested version 0.0.7.34 and get the same odd behavior. Strange is that Control is affected by swapping Alt+Super.
Please post
xmodmap -pm
before and after changing your keymap (and the rest from comment:1 so I can try to reproduce)
The action that screws up everything is the xmodmap line "add mod4 = Alt_L"
Anyway, here the printouts: Before swap: xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Alt_L (0xcc), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
after swap:
xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_R (0x6c), Super_L (0x85), Meta_L (0xcd), Super_L (0xce) mod2 Num_Lock (0x4d) mod3 mod4 Alt_L (0x40), Super_R (0x86), Alt_L (0xcc), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
setxkbmap -print
xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+us+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; };
setxkbmap -query
rules: evdev model: pc105 layout: us
xmodmap -pke
keycode 8 # keycode 9Escape NoSymbol Escape keycode 10 = 1 exclam 1 exclam keycode 11 = 2 at 2 at keycode 12 = 3 numbersign 3 numbersign keycode 13 = 4 dollar 4 dollar keycode 14 = 5 percent 5 percent keycode 15 = 6 asciicircum 6 asciicircum keycode 16 = 7 ampersand 7 ampersand keycode 17 = 8 asterisk 8 asterisk keycode 18 = 9 parenleft 9 parenleft keycode 19 = 0 parenright 0 parenright keycode 20 = minus underscore minus underscore keycode 21 = equal plus equal plus keycode 22 = BackSpace NoSymbol BackSpace keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab keycode 24 = q Q q Q keycode 25 = w W w W keycode 26 = e E e E keycode 27 = r R r R keycode 28 = t T t T keycode 29 = y Y y Y keycode 30 = u U u U keycode 31 = i I i I keycode 32 = o O o O keycode 33 = p P p P keycode 34 = bracketleft braceleft bracketleft braceleft keycode 35 = bracketright braceright bracketright braceright keycode 36 = Return NoSymbol Return keycode 37 = Control_L NoSymbol Control_L keycode 38 = a A a A keycode 39 = s S s S keycode 40 = d D d D keycode 41 = f F f F keycode 42 = g G g G keycode 43 = h H h H keycode 44 = j J j J keycode 45 = k K k K keycode 46 = l L l L keycode 47 = semicolon colon semicolon colon keycode 48 = apostrophe quotedbl apostrophe quotedbl keycode 49 = grave asciitilde grave asciitilde keycode 50 = Shift_L NoSymbol Shift_L keycode 51 = backslash bar backslash bar keycode 52 = z Z z Z keycode 53 = x X x X keycode 54 = c C c C keycode 55 = v V v V keycode 56 = b B b B keycode 57 = n N n N keycode 58 = m M m M keycode 59 = comma less comma less keycode 60 = period greater period greater keycode 61 = slash question slash question keycode 62 = Shift_R NoSymbol Shift_R keycode 63 = KP_Multiply XF86ClearGrab KP_Multiply XF86ClearGrab keycode 64 = Alt_L Meta_L Alt_L Meta_L keycode 65 = space NoSymbol space keycode 66 = Caps_Lock NoSymbol Caps_Lock keycode 67 = F1 XF86Switch_VT_1 F1 XF86Switch_VT_1 keycode 68 = F2 XF86Switch_VT_2 F2 XF86Switch_VT_2 keycode 69 = F3 XF86Switch_VT_3 F3 XF86Switch_VT_3 keycode 70 = F4 XF86Switch_VT_4 F4 XF86Switch_VT_4 keycode 71 = F5 XF86Switch_VT_5 F5 XF86Switch_VT_5 keycode 72 = F6 XF86Switch_VT_6 F6 XF86Switch_VT_6 keycode 73 = F7 XF86Switch_VT_7 F7 XF86Switch_VT_7 keycode 74 = F8 XF86Switch_VT_8 F8 XF86Switch_VT_8 keycode 75 = F9 XF86Switch_VT_9 F9 XF86Switch_VT_9 keycode 76 = F10 XF86Switch_VT_10 F10 XF86Switch_VT_10 keycode 77 = Num_Lock NoSymbol Num_Lock keycode 78 = Scroll_Lock NoSymbol Scroll_Lock keycode 79 = KP_Home KP_7 KP_Home KP_7 keycode 80 = KP_Up KP_8 KP_Up KP_8 keycode 81 = KP_Prior KP_9 KP_Prior KP_9 keycode 82 = KP_Subtract XF86Prev_VMode KP_Subtract XF86Prev_VMode keycode 83 = KP_Left KP_4 KP_Left KP_4 keycode 84 = KP_Begin KP_5 KP_Begin KP_5 keycode 85 = KP_Right KP_6 KP_Right KP_6 keycode 86 = KP_Add XF86Next_VMode KP_Add XF86Next_VMode keycode 87 = KP_End KP_1 KP_End KP_1 keycode 88 = KP_Down KP_2 KP_Down KP_2 keycode 89 = KP_Next KP_3 KP_Next KP_3 keycode 90 = KP_Insert KP_0 KP_Insert KP_0 keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift keycode 93 # keycode 94less greater less greater bar brokenbar keycode 95 = F11 XF86Switch_VT_11 F11 XF86Switch_VT_11 keycode 96 = F12 XF86Switch_VT_12 F12 XF86Switch_VT_12 keycode 97 # keycode 98Katakana NoSymbol Katakana keycode 99 = Hiragana NoSymbol Hiragana keycode 100 = Henkan_Mode NoSymbol Henkan_Mode keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana keycode 102 = Muhenkan NoSymbol Muhenkan keycode 103 # keycode 104KP_Enter NoSymbol KP_Enter keycode 105 = Control_R NoSymbol Control_R keycode 106 = KP_Divide XF86Ungrab KP_Divide XF86Ungrab keycode 107 = Print Sys_Req Print Sys_Req keycode 108 = Alt_R Meta_R Alt_R Meta_R keycode 109 = Linefeed NoSymbol Linefeed keycode 110 = Home NoSymbol Home keycode 111 = Up NoSymbol Up keycode 112 = Prior NoSymbol Prior keycode 113 = Left NoSymbol Left keycode 114 = Right NoSymbol Right keycode 115 = End NoSymbol End keycode 116 = Down NoSymbol Down keycode 117 = Next NoSymbol Next keycode 118 = Insert NoSymbol Insert keycode 119 = Delete NoSymbol Delete keycode 120 # keycode 121XF86AudioMute NoSymbol XF86AudioMute keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume keycode 124 = XF86PowerOff NoSymbol XF86PowerOff keycode 125 = KP_Equal NoSymbol KP_Equal keycode 126 = plusminus NoSymbol plusminus keycode 127 = Pause Break Pause Break keycode 128 = XF86LaunchA NoSymbol XF86LaunchA keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal keycode 130 = Hangul NoSymbol Hangul keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja keycode 132 # keycode 133Super_L NoSymbol Super_L keycode 134 = Super_R NoSymbol Super_R keycode 135 = Menu NoSymbol Menu keycode 136 = Cancel NoSymbol Cancel keycode 137 = Redo NoSymbol Redo keycode 138 = SunProps NoSymbol SunProps keycode 139 = Undo NoSymbol Undo keycode 140 = SunFront NoSymbol SunFront keycode 141 = XF86Copy NoSymbol XF86Copy keycode 142 = SunOpen NoSymbol SunOpen keycode 143 = XF86Paste NoSymbol XF86Paste keycode 144 = Find NoSymbol Find keycode 145 = XF86Cut NoSymbol XF86Cut keycode 146 = Help NoSymbol Help keycode 147 = XF86MenuKB NoSymbol XF86MenuKB keycode 148 = XF86Calculator NoSymbol XF86Calculator keycode 149 # keycode 150XF86Sleep NoSymbol XF86Sleep keycode 151 = XF86WakeUp NoSymbol XF86WakeUp keycode 152 = XF86Explorer NoSymbol XF86Explorer keycode 153 = XF86Send NoSymbol XF86Send keycode 154 # keycode 155XF86Xfer NoSymbol XF86Xfer keycode 156 = XF86Launch1 NoSymbol XF86Launch1 keycode 157 = XF86Launch2 NoSymbol XF86Launch2 keycode 158 = XF86WWW NoSymbol XF86WWW keycode 159 = XF86DOS NoSymbol XF86DOS keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver keycode 161 # keycode 162XF86RotateWindows NoSymbol XF86RotateWindows keycode 163 = XF86Mail NoSymbol XF86Mail keycode 164 = XF86Favorites NoSymbol XF86Favorites keycode 165 = XF86MyComputer NoSymbol XF86MyComputer keycode 166 = XF86Back NoSymbol XF86Back keycode 167 = XF86Forward NoSymbol XF86Forward keycode 168 # keycode 169XF86Eject NoSymbol XF86Eject keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject keycode 171 = XF86AudioNext NoSymbol XF86AudioNext keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind keycode 177 = XF86Phone NoSymbol XF86Phone keycode 178 # keycode 179XF86Tools NoSymbol XF86Tools keycode 180 = XF86HomePage NoSymbol XF86HomePage keycode 181 = XF86Reload NoSymbol XF86Reload keycode 182 = XF86Close NoSymbol XF86Close keycode 183 # keycode 184keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown keycode 187 = parenleft NoSymbol parenleft keycode 188 = parenright NoSymbol parenright keycode 189 = XF86New NoSymbol XF86New keycode 190 = Redo NoSymbol Redo keycode 191 = XF86Tools NoSymbol XF86Tools keycode 192 = XF86Launch5 NoSymbol XF86Launch5 keycode 193 = XF86Launch6 NoSymbol XF86Launch6 keycode 194 = XF86Launch7 NoSymbol XF86Launch7 keycode 195 = XF86Launch8 NoSymbol XF86Launch8 keycode 196 = XF86Launch9 NoSymbol XF86Launch9 keycode 197 # keycode 198keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff keycode 202 # keycode 203Mode_switch NoSymbol Mode_switch keycode 204 = NoSymbol Alt_L NoSymbol Alt_L keycode 205 = NoSymbol Meta_L NoSymbol Meta_L keycode 206 = NoSymbol Super_L NoSymbol Super_L keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay keycode 209 = XF86AudioPause NoSymbol XF86AudioPause keycode 210 = XF86Launch3 NoSymbol XF86Launch3 keycode 211 = XF86Launch4 NoSymbol XF86Launch4 keycode 212 = XF86LaunchB NoSymbol XF86LaunchB keycode 213 = XF86Suspend NoSymbol XF86Suspend keycode 214 = XF86Close NoSymbol XF86Close keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay keycode 216 = XF86AudioForward NoSymbol XF86AudioForward keycode 217 # keycode 218Print NoSymbol Print keycode 219 # keycode 220XF86WebCam NoSymbol XF86WebCam keycode 221 # keycode 222keycode 223 = XF86Mail NoSymbol XF86Mail keycode 224 = XF86Messenger NoSymbol XF86Messenger keycode 225 = XF86Search NoSymbol XF86Search keycode 226 = XF86Go NoSymbol XF86Go keycode 227 = XF86Finance NoSymbol XF86Finance keycode 228 = XF86Game NoSymbol XF86Game keycode 229 = XF86Shop NoSymbol XF86Shop keycode 230 # keycode 231Cancel NoSymbol Cancel keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia keycode 235 = XF86Display NoSymbol XF86Display keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp keycode 239 = XF86Send NoSymbol XF86Send keycode 240 = XF86Reply NoSymbol XF86Reply keycode 241 = XF86MailForward NoSymbol XF86MailForward keycode 242 = XF86Save NoSymbol XF86Save keycode 243 = XF86Documents NoSymbol XF86Documents keycode 244 = XF86Battery NoSymbol XF86Battery keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth keycode 246 = XF86WLAN NoSymbol XF86WLAN keycode 247 # keycode 248keycode 249 # keycode 250keycode 251 # keycode 252keycode 253 # keycode 254keycode 255 =
Can you post the output of:
xpra/keys.py
Before and after the switch?
Hopefully the gtk keyboard code can (be made to) detect this properly, if not the solution could be #134
117 looks like a duplicate of this bug.
Here you go:
python /usr/lib/xpra/xpra/keys.py
gives the exact same result before and after the switch:
gtk_keymap: (keyval, name, keycode, group, level) (65307, 'Escape', 9, 0, 0) (49, '1', 10, 0, 0) (33, 'exclam', 10, 0, 1) (161, 'exclamdown', 10, 0, 2) (16785476, 'U2044', 10, 0, 3) (50, '2', 11, 0, 0) (64, 'at', 11, 0, 1) (2761, 'trademark', 11, 0, 2) (8364, 'EuroSign', 11, 0, 3) (51, '3', 12, 0, 0) (35, 'numbersign', 12, 0, 1) (163, 'sterling', 12, 0, 2) (16785465, 'U2039', 12, 0, 3) (52, '4', 13, 0, 0) (36, 'dollar', 13, 0, 1) (162, 'cent', 13, 0, 2) (16785466, 'U203A', 13, 0, 3) (53, '5', 14, 0, 0) (37, 'percent', 14, 0, 1) (2242, 'infinity', 14, 0, 2) (16841473, 'UFB01', 14, 0, 3) (54, '6', 15, 0, 0) (94, 'asciicircum', 15, 0, 1) (167, 'section', 15, 0, 2) (16841474, 'UFB02', 15, 0, 3) (55, '7', 16, 0, 0) (38, 'ampersand', 16, 0, 1) (182, 'paragraph', 16, 0, 2) (2802, 'doubledagger', 16, 0, 3) (56, '8', 17, 0, 0) (42, 'asterisk', 17, 0, 1) (2790, 'enfilledcircbullet', 17, 0, 2) (176, 'degree', 17, 0, 3) (57, '9', 18, 0, 0) (40, 'parenleft', 18, 0, 1) (170, 'ordfeminine', 18, 0, 2) (183, 'periodcentered', 18, 0, 3) (48, '0', 19, 0, 0) (41, 'parenright', 19, 0, 1) (186, 'masculine', 19, 0, 2) (2813, 'singlelowquotemark', 19, 0, 3) (45, 'minus', 20, 0, 0) (95, 'underscore', 20, 0, 1) (2730, 'endash', 20, 0, 2) (2729, 'emdash', 20, 0, 3) (61, 'equal', 21, 0, 0) (43, 'plus', 21, 0, 1) (2237, 'notequal', 21, 0, 2) (177, 'plusminus', 21, 0, 3) (65288, 'BackSpace', 22, 0, 0) (65237, 'Terminate_Server', 22, 0, 1) (65289, 'Tab', 23, 0, 0) (65056, 'ISO_Left_Tab', 23, 0, 1) (113, 'q', 24, 0, 0) (81, 'Q', 24, 0, 1) (5053, 'oe', 24, 0, 2) (5052, 'OE', 24, 0, 3) (119, 'w', 25, 0, 0) (87, 'W', 25, 0, 1) (16785937, 'U2211', 25, 0, 2) (2814, 'doublelowquotemark', 25, 0, 3) (101, 'e', 26, 0, 0) (69, 'E', 26, 0, 1) (65105, 'dead_acute', 26, 0, 2) (180, 'acute', 26, 0, 3) (114, 'r', 27, 0, 0) (82, 'R', 27, 0, 1) (174, 'registered', 27, 0, 2) (16785456, 'U2030', 27, 0, 3) (116, 't', 28, 0, 0) (84, 'T', 28, 0, 1) (2801, 'dagger', 28, 0, 2) (65114, 'dead_caron', 28, 0, 3) (121, 'y', 29, 0, 0) (89, 'Y', 29, 0, 1) (165, 'yen', 29, 0, 2) (188, 'onequarter', 29, 0, 3) (117, 'u', 30, 0, 0) (85, 'U', 30, 0, 1) (65111, 'dead_diaeresis', 30, 0, 2) (168, 'diaeresis', 30, 0, 3) (105, 'i', 31, 0, 0) (73, 'I', 31, 0, 1) (65106, 'dead_circumflex', 31, 0, 2) (16777926, 'U02C6', 31, 0, 3) (111, 'o', 32, 0, 0) (79, 'O', 32, 0, 1) (248, 'oslash', 32, 0, 2) (216, 'Oslash', 32, 0, 3) (112, 'p', 33, 0, 0) (80, 'P', 33, 0, 1) (2032, 'Greek_pi', 33, 0, 2) (16785935, 'U220F', 33, 0, 3) (91, 'bracketleft', 34, 0, 0) (123, 'braceleft', 34, 0, 1) (2770, 'leftdoublequotemark', 34, 0, 2) (2771, 'rightdoublequotemark', 34, 0, 3) (93, 'bracketright', 35, 0, 0) (125, 'braceright', 35, 0, 1) (2768, 'leftsinglequotemark', 35, 0, 2) (2769, 'rightsinglequotemark', 35, 0, 3) (65293, 'Return', 36, 0, 0) (65507, 'Control_L', 37, 0, 0) (97, 'a', 38, 0, 0) (65, 'A', 38, 0, 1) (229, 'aring', 38, 0, 2) (197, 'Aring', 38, 0, 3) (115, 's', 39, 0, 0) (83, 'S', 39, 0, 1) (223, 'ssharp', 39, 0, 2) (65123, 'dead_stroke', 39, 0, 3) (100, 'd', 40, 0, 0) (68, 'D', 40, 0, 1) (2287, 'partialderivative', 40, 0, 2) (240, 'eth', 40, 0, 3) (102, 'f', 41, 0, 0) (70, 'F', 41, 0, 1) (2294, 'function', 41, 0, 2) (65121, 'dead_hook', 41, 0, 3) (103, 'g', 42, 0, 0) (71, 'G', 42, 0, 1) (169, 'copyright', 42, 0, 2) (65113, 'dead_doubleacute', 42, 0, 3) (104, 'h', 43, 0, 0) (72, 'H', 43, 0, 1) (65110, 'dead_abovedot', 43, 0, 2) (65120, 'dead_belowdot', 43, 0, 3) (106, 'j', 44, 0, 0) (74, 'J', 44, 0, 1) (16785926, 'U2206', 44, 0, 2) (189, 'onehalf', 44, 0, 3) (107, 'k', 45, 0, 0) (75, 'K', 45, 0, 1) (65112, 'dead_abovering', 45, 0, 2) (16840959, 'UF8FF', 45, 0, 3) (108, 'l', 46, 0, 0) (76, 'L', 46, 0, 1) (172, 'notsign', 46, 0, 2) (222, 'THORN', 46, 0, 3) (59, 'semicolon', 47, 0, 0) (58, 'colon', 47, 0, 1) (16785446, 'U2026', 47, 0, 2) (254, 'thorn', 47, 0, 3) (39, 'apostrophe', 48, 0, 0) (34, 'quotedbl', 48, 0, 1) (230, 'ae', 48, 0, 2) (198, 'AE', 48, 0, 3) (96, 'grave', 49, 0, 0) (126, 'asciitilde', 49, 0, 1) (65104, 'dead_grave', 49, 0, 2) (65122, 'dead_horn', 49, 0, 3) (65505, 'Shift_L', 50, 0, 0) (92, 'backslash', 51, 0, 0) (124, 'bar', 51, 0, 1) (171, 'guillemotleft', 51, 0, 2) (187, 'guillemotright', 51, 0, 3) (122, 'z', 52, 0, 0) (90, 'Z', 52, 0, 1) (2009, 'Greek_OMEGA', 52, 0, 2) (65115, 'dead_cedilla', 52, 0, 3) (120, 'x', 53, 0, 0) (88, 'X', 53, 0, 1) (16785992, 'approxeq', 53, 0, 2) (65116, 'dead_ogonek', 53, 0, 3) (99, 'c', 54, 0, 0) (67, 'C', 54, 0, 1) (231, 'ccedilla', 54, 0, 2) (199, 'Ccedilla', 54, 0, 3) (118, 'v', 55, 0, 0) (86, 'V', 55, 0, 1) (16785946, 'squareroot', 55, 0, 2) (16786890, 'U25CA', 55, 0, 3) (98, 'b', 56, 0, 0) (66, 'B', 56, 0, 1) (2239, 'integral', 56, 0, 2) (697, 'idotless', 56, 0, 3) (110, 'n', 57, 0, 0) (78, 'N', 57, 0, 1) (65107, 'dead_tilde', 57, 0, 2) (16777948, 'U02DC', 57, 0, 3) (109, 'm', 58, 0, 0) (77, 'M', 58, 0, 1) (181, 'mu', 58, 0, 2) (190, 'threequarters', 58, 0, 3) (44, 'comma', 59, 0, 0) (60, 'less', 59, 0, 1) (2236, 'lessthanequal', 59, 0, 2) (65108, 'dead_macron', 59, 0, 3) (46, 'period', 60, 0, 0) (62, 'greater', 60, 0, 1) (2238, 'greaterthanequal', 60, 0, 2) (65109, 'dead_breve', 60, 0, 3) (47, 'slash', 61, 0, 0) (63, 'question', 61, 0, 1) (247, 'division', 61, 0, 2) (191, 'questiondown', 61, 0, 3) (65506, 'Shift_R', 62, 0, 0) (65450, 'KP_Multiply', 63, 0, 0) (269024801, 'XF86ClearGrab', 63, 0, 1) (65513, 'Alt_L', 64, 0, 0) (65511, 'Meta_L', 64, 0, 1) (32, 'space', 65, 0, 0) (65509, 'Caps_Lock', 66, 0, 0) (65470, 'F1', 67, 0, 0) (269024769, 'XF86Switch_VT_1', 67, 0, 1) (65471, 'F2', 68, 0, 0) (269024770, 'XF86Switch_VT_2', 68, 0, 1) (65472, 'F3', 69, 0, 0) (269024771, 'XF86Switch_VT_3', 69, 0, 1) (65473, 'F4', 70, 0, 0) (269024772, 'XF86Switch_VT_4', 70, 0, 1) (65474, 'F5', 71, 0, 0) (269024773, 'XF86Switch_VT_5', 71, 0, 1) (65475, 'F6', 72, 0, 0) (269024774, 'XF86Switch_VT_6', 72, 0, 1) (65476, 'F7', 73, 0, 0) (269024775, 'XF86Switch_VT_7', 73, 0, 1) (65477, 'F8', 74, 0, 0) (269024776, 'XF86Switch_VT_8', 74, 0, 1) (65478, 'F9', 75, 0, 0) (269024777, 'XF86Switch_VT_9', 75, 0, 1) (65479, 'F10', 76, 0, 0) (269024778, 'XF86Switch_VT_10', 76, 0, 1) (65407, 'Num_Lock', 77, 0, 0) (65300, 'Scroll_Lock', 78, 0, 0) (65429, 'KP_Home', 79, 0, 0) (65463, 'KP_7', 79, 0, 1) (65431, 'KP_Up', 80, 0, 0) (65464, 'KP_8', 80, 0, 1) (65434, 'KP_Page_Up', 81, 0, 0) (65465, 'KP_9', 81, 0, 1) (65453, 'KP_Subtract', 82, 0, 0) (269024803, 'XF86Prev_VMode', 82, 0, 1) (65430, 'KP_Left', 83, 0, 0) (65460, 'KP_4', 83, 0, 1) (65437, 'KP_Begin', 84, 0, 0) (65461, 'KP_5', 84, 0, 1) (65432, 'KP_Right', 85, 0, 0) (65462, 'KP_6', 85, 0, 1) (65451, 'KP_Add', 86, 0, 0) (269024802, 'XF86Next_VMode', 86, 0, 1) (65436, 'KP_End', 87, 0, 0) (65457, 'KP_1', 87, 0, 1) (65433, 'KP_Down', 88, 0, 0) (65458, 'KP_2', 88, 0, 1) (65435, 'KP_Page_Down', 89, 0, 0) (65459, 'KP_3', 89, 0, 1) (65438, 'KP_Insert', 90, 0, 0) (65456, 'KP_0', 90, 0, 1) (65439, 'KP_Delete', 91, 0, 0) (65454, 'KP_Decimal', 91, 0, 1) (65027, 'ISO_Level3_Shift', 92, 0, 0) (167, 'section', 94, 0, 0) (177, 'plusminus', 94, 0, 1) (167, 'section', 94, 0, 2) (177, 'plusminus', 94, 0, 3) (65480, 'F11', 95, 0, 0) (269024779, 'XF86Switch_VT_11', 95, 0, 1) (65481, 'F12', 96, 0, 0) (269024780, 'XF86Switch_VT_12', 96, 0, 1) (65318, 'Katakana', 98, 0, 0) (65317, 'Hiragana', 99, 0, 0) (65315, 'Henkan_Mode', 100, 0, 0) (65319, 'Hiragana_Katakana', 101, 0, 0) (65314, 'Muhenkan', 102, 0, 0) (65421, 'KP_Enter', 104, 0, 0) (65508, 'Control_R', 105, 0, 0) (65455, 'KP_Divide', 106, 0, 0) (269024800, 'XF86Ungrab', 106, 0, 1) (65377, 'Print', 107, 0, 0) (65301, 'Sys_Req', 107, 0, 1) (65027, 'ISO_Level3_Shift', 108, 0, 0) (65290, 'Linefeed', 109, 0, 0) (65360, 'Home', 110, 0, 0) (65362, 'Up', 111, 0, 0) (65365, 'Page_Up', 112, 0, 0) (65361, 'Left', 113, 0, 0) (65363, 'Right', 114, 0, 0) (65367, 'End', 115, 0, 0) (65364, 'Down', 116, 0, 0) (65366, 'Page_Down', 117, 0, 0) (65379, 'Insert', 118, 0, 0) (65535, 'Delete', 119, 0, 0) (269025042, 'XF86AudioMute', 121, 0, 0) (269025041, 'XF86AudioLowerVolume', 122, 0, 0) (269025043, 'XF86AudioRaiseVolume', 123, 0, 0) (269025066, 'XF86PowerOff', 124, 0, 0) (65469, 'KP_Equal', 125, 0, 0) (177, 'plusminus', 126, 0, 0) (65299, 'Pause', 127, 0, 0) (65387, 'Break', 127, 0, 1) (269025098, 'XF86LaunchA', 128, 0, 0) (65454, 'KP_Decimal', 129, 0, 0) (65454, 'KP_Decimal', 129, 0, 1) (65329, 'Hangul', 130, 0, 0) (65332, 'Hangul_Hanja', 131, 0, 0) (65515, 'Super_L', 133, 0, 0) (65516, 'Super_R', 134, 0, 0) (65383, 'Menu', 135, 0, 0) (65385, 'Cancel', 136, 0, 0) (65382, 'Redo', 137, 0, 0) (268828528, 'SunProps', 138, 0, 0) (65381, 'Undo', 139, 0, 0) (268828529, 'SunFront', 140, 0, 0) (269025111, 'XF86Copy', 141, 0, 0) (268828531, 'SunOpen', 142, 0, 0) (269025133, 'XF86Paste', 143, 0, 0) (65384, 'Find', 144, 0, 0) (269025112, 'XF86Cut', 145, 0, 0) (65386, 'Help', 146, 0, 0) (269025125, 'XF86MenuKB', 147, 0, 0) (269025053, 'XF86Calculator', 148, 0, 0) (269025071, 'XF86Sleep', 150, 0, 0) (269025067, 'XF86WakeUp', 151, 0, 0) (269025117, 'XF86Explorer', 152, 0, 0) (269025147, 'XF86Send', 153, 0, 0) (269025162, 'XF86Xfer', 155, 0, 0) (269025089, 'XF86Launch1', 156, 0, 0) (269025090, 'XF86Launch2', 157, 0, 0) (269025070, 'XF86WWW', 158, 0, 0) (269025114, 'XF86DOS', 159, 0, 0) (269025069, 'XF86ScreenSaver', 160, 0, 0) (269025140, 'XF86RotateWindows', 162, 0, 0) (269025049, 'XF86Mail', 163, 0, 0) (269025072, 'XF86Favorites', 164, 0, 0) (269025075, 'XF86MyComputer', 165, 0, 0) (269025062, 'XF86Back', 166, 0, 0) (269025063, 'XF86Forward', 167, 0, 0) (269025068, 'XF86Eject', 169, 0, 0) (269025068, 'XF86Eject', 170, 0, 0) (269025068, 'XF86Eject', 170, 0, 1) (269025047, 'XF86AudioNext', 171, 0, 0) (269025044, 'XF86AudioPlay', 172, 0, 0) (269025073, 'XF86AudioPause', 172, 0, 1) (269025046, 'XF86AudioPrev', 173, 0, 0) (269025045, 'XF86AudioStop', 174, 0, 0) (269025068, 'XF86Eject', 174, 0, 1) (269025052, 'XF86AudioRecord', 175, 0, 0) (269025086, 'XF86AudioRewind', 176, 0, 0) (269025134, 'XF86Phone', 177, 0, 0) (269025153, 'XF86Tools', 179, 0, 0) (269025048, 'XF86HomePage', 180, 0, 0) (269025139, 'XF86Reload', 181, 0, 0) (269025110, 'XF86Close', 182, 0, 0) (269025144, 'XF86ScrollUp', 185, 0, 0) (269025145, 'XF86ScrollDown', 186, 0, 0) (40, 'parenleft', 187, 0, 0) (41, 'parenright', 188, 0, 0) (269025128, 'XF86New', 189, 0, 0) (65382, 'Redo', 190, 0, 0) (269025153, 'XF86Tools', 191, 0, 0) (269025093, 'XF86Launch5', 192, 0, 0) (269025094, 'XF86Launch6', 193, 0, 0) (269025095, 'XF86Launch7', 194, 0, 0) (269025096, 'XF86Launch8', 195, 0, 0) (269025097, 'XF86Launch9', 196, 0, 0) (269025193, 'XF86TouchpadToggle', 199, 0, 0) (269025200, 'XF86TouchpadOn', 200, 0, 0) (269025201, 'XF86TouchpadOff', 201, 0, 0) (65406, 'Mode_switch', 203, 0, 0) (65513, 'Alt_L', 204, 0, 1) (65511, 'Meta_L', 205, 0, 1) (65515, 'Super_L', 206, 0, 1) (65517, 'Hyper_L', 207, 0, 1) (269025044, 'XF86AudioPlay', 208, 0, 0) (269025073, 'XF86AudioPause', 209, 0, 0) (269025091, 'XF86Launch3', 210, 0, 0) (269025092, 'XF86Launch4', 211, 0, 0) (269025099, 'XF86LaunchB', 212, 0, 0) (269025191, 'XF86Suspend', 213, 0, 0) (269025110, 'XF86Close', 214, 0, 0) (269025044, 'XF86AudioPlay', 215, 0, 0) (269025175, 'XF86AudioForward', 216, 0, 0) (65377, 'Print', 218, 0, 0) (269025167, 'XF86WebCam', 220, 0, 0) (269025049, 'XF86Mail', 223, 0, 0) (269025166, 'XF86Messenger', 224, 0, 0) (269025051, 'XF86Search', 225, 0, 0) (269025119, 'XF86Go', 226, 0, 0) (269025084, 'XF86Finance', 227, 0, 0) (269025118, 'XF86Game', 228, 0, 0) (269025078, 'XF86Shop', 229, 0, 0) (65385, 'Cancel', 231, 0, 0) (269025027, 'XF86MonBrightnessDown', 232, 0, 0) (269025026, 'XF86MonBrightnessUp', 233, 0, 0) (269025074, 'XF86AudioMedia', 234, 0, 0) (269025113, 'XF86Display', 235, 0, 0) (269025028, 'XF86KbdLightOnOff', 236, 0, 0) (269025030, 'XF86KbdBrightnessDown', 237, 0, 0) (269025029, 'XF86KbdBrightnessUp', 238, 0, 0) (269025147, 'XF86Send', 239, 0, 0) (269025138, 'XF86Reply', 240, 0, 0) (269025168, 'XF86MailForward', 241, 0, 0) (269025143, 'XF86Save', 242, 0, 0) (269025115, 'XF86Documents', 243, 0, 0) (269025171, 'XF86Battery', 244, 0, 0) (269025172, 'XF86Bluetooth', 245, 0, 0) (269025173, 'XF86WLAN', 246, 0, 0)
Sorry I was too fast. I did log out and log in again, then I get:
before:
gtk_keymap: (keyval, name, keycode, group, level) (65307, 'Escape', 9, 0, 0) (49, '1', 10, 0, 0) (33, 'exclam', 10, 0, 1) (161, 'exclamdown', 10, 0, 2) (16785476, 'U2044', 10, 0, 3) (50, '2', 11, 0, 0) (64, 'at', 11, 0, 1) (2761, 'trademark', 11, 0, 2) (8364, 'EuroSign', 11, 0, 3) (51, '3', 12, 0, 0) (35, 'numbersign', 12, 0, 1) (163, 'sterling', 12, 0, 2) (16785465, 'U2039', 12, 0, 3) (52, '4', 13, 0, 0) (36, 'dollar', 13, 0, 1) (162, 'cent', 13, 0, 2) (16785466, 'U203A', 13, 0, 3) (53, '5', 14, 0, 0) (37, 'percent', 14, 0, 1) (2242, 'infinity', 14, 0, 2) (16841473, 'UFB01', 14, 0, 3) (54, '6', 15, 0, 0) (94, 'asciicircum', 15, 0, 1) (167, 'section', 15, 0, 2) (16841474, 'UFB02', 15, 0, 3) (55, '7', 16, 0, 0) (38, 'ampersand', 16, 0, 1) (182, 'paragraph', 16, 0, 2) (2802, 'doubledagger', 16, 0, 3) (56, '8', 17, 0, 0) (42, 'asterisk', 17, 0, 1) (2790, 'enfilledcircbullet', 17, 0, 2) (176, 'degree', 17, 0, 3) (57, '9', 18, 0, 0) (40, 'parenleft', 18, 0, 1) (170, 'ordfeminine', 18, 0, 2) (183, 'periodcentered', 18, 0, 3) (48, '0', 19, 0, 0) (41, 'parenright', 19, 0, 1) (186, 'masculine', 19, 0, 2) (2813, 'singlelowquotemark', 19, 0, 3) (45, 'minus', 20, 0, 0) (95, 'underscore', 20, 0, 1) (2730, 'endash', 20, 0, 2) (2729, 'emdash', 20, 0, 3) (61, 'equal', 21, 0, 0) (43, 'plus', 21, 0, 1) (2237, 'notequal', 21, 0, 2) (177, 'plusminus', 21, 0, 3) (65288, 'BackSpace', 22, 0, 0) (65237, 'Terminate_Server', 22, 0, 1) (65289, 'Tab', 23, 0, 0) (65056, 'ISO_Left_Tab', 23, 0, 1) (113, 'q', 24, 0, 0) (81, 'Q', 24, 0, 1) (5053, 'oe', 24, 0, 2) (5052, 'OE', 24, 0, 3) (119, 'w', 25, 0, 0) (87, 'W', 25, 0, 1) (16785937, 'U2211', 25, 0, 2) (2814, 'doublelowquotemark', 25, 0, 3) (101, 'e', 26, 0, 0) (69, 'E', 26, 0, 1) (65105, 'dead_acute', 26, 0, 2) (180, 'acute', 26, 0, 3) (114, 'r', 27, 0, 0) (82, 'R', 27, 0, 1) (174, 'registered', 27, 0, 2) (16785456, 'U2030', 27, 0, 3) (116, 't', 28, 0, 0) (84, 'T', 28, 0, 1) (2801, 'dagger', 28, 0, 2) (65114, 'dead_caron', 28, 0, 3) (121, 'y', 29, 0, 0) (89, 'Y', 29, 0, 1) (165, 'yen', 29, 0, 2) (188, 'onequarter', 29, 0, 3) (117, 'u', 30, 0, 0) (85, 'U', 30, 0, 1) (65111, 'dead_diaeresis', 30, 0, 2) (168, 'diaeresis', 30, 0, 3) (105, 'i', 31, 0, 0) (73, 'I', 31, 0, 1) (65106, 'dead_circumflex', 31, 0, 2) (16777926, 'U02C6', 31, 0, 3) (111, 'o', 32, 0, 0) (79, 'O', 32, 0, 1) (248, 'oslash', 32, 0, 2) (216, 'Oslash', 32, 0, 3) (112, 'p', 33, 0, 0) (80, 'P', 33, 0, 1) (2032, 'Greek_pi', 33, 0, 2) (16785935, 'U220F', 33, 0, 3) (91, 'bracketleft', 34, 0, 0) (123, 'braceleft', 34, 0, 1) (2770, 'leftdoublequotemark', 34, 0, 2) (2771, 'rightdoublequotemark', 34, 0, 3) (93, 'bracketright', 35, 0, 0) (125, 'braceright', 35, 0, 1) (2768, 'leftsinglequotemark', 35, 0, 2) (2769, 'rightsinglequotemark', 35, 0, 3) (65293, 'Return', 36, 0, 0) (65507, 'Control_L', 37, 0, 0) (97, 'a', 38, 0, 0) (65, 'A', 38, 0, 1) (229, 'aring', 38, 0, 2) (197, 'Aring', 38, 0, 3) (115, 's', 39, 0, 0) (83, 'S', 39, 0, 1) (223, 'ssharp', 39, 0, 2) (65123, 'dead_stroke', 39, 0, 3) (100, 'd', 40, 0, 0) (68, 'D', 40, 0, 1) (2287, 'partialderivative', 40, 0, 2) (240, 'eth', 40, 0, 3) (102, 'f', 41, 0, 0) (70, 'F', 41, 0, 1) (2294, 'function', 41, 0, 2) (65121, 'dead_hook', 41, 0, 3) (103, 'g', 42, 0, 0) (71, 'G', 42, 0, 1) (169, 'copyright', 42, 0, 2) (65113, 'dead_doubleacute', 42, 0, 3) (104, 'h', 43, 0, 0) (72, 'H', 43, 0, 1) (65110, 'dead_abovedot', 43, 0, 2) (65120, 'dead_belowdot', 43, 0, 3) (106, 'j', 44, 0, 0) (74, 'J', 44, 0, 1) (16785926, 'U2206', 44, 0, 2) (189, 'onehalf', 44, 0, 3) (107, 'k', 45, 0, 0) (75, 'K', 45, 0, 1) (65112, 'dead_abovering', 45, 0, 2) (16840959, 'UF8FF', 45, 0, 3) (108, 'l', 46, 0, 0) (76, 'L', 46, 0, 1) (172, 'notsign', 46, 0, 2) (222, 'THORN', 46, 0, 3) (59, 'semicolon', 47, 0, 0) (58, 'colon', 47, 0, 1) (16785446, 'U2026', 47, 0, 2) (254, 'thorn', 47, 0, 3) (39, 'apostrophe', 48, 0, 0) (34, 'quotedbl', 48, 0, 1) (230, 'ae', 48, 0, 2) (198, 'AE', 48, 0, 3) (96, 'grave', 49, 0, 0) (126, 'asciitilde', 49, 0, 1) (65104, 'dead_grave', 49, 0, 2) (65122, 'dead_horn', 49, 0, 3) (65505, 'Shift_L', 50, 0, 0) (92, 'backslash', 51, 0, 0) (124, 'bar', 51, 0, 1) (171, 'guillemotleft', 51, 0, 2) (187, 'guillemotright', 51, 0, 3) (122, 'z', 52, 0, 0) (90, 'Z', 52, 0, 1) (2009, 'Greek_OMEGA', 52, 0, 2) (65115, 'dead_cedilla', 52, 0, 3) (120, 'x', 53, 0, 0) (88, 'X', 53, 0, 1) (16785992, 'approxeq', 53, 0, 2) (65116, 'dead_ogonek', 53, 0, 3) (99, 'c', 54, 0, 0) (67, 'C', 54, 0, 1) (231, 'ccedilla', 54, 0, 2) (199, 'Ccedilla', 54, 0, 3) (118, 'v', 55, 0, 0) (86, 'V', 55, 0, 1) (16785946, 'squareroot', 55, 0, 2) (16786890, 'U25CA', 55, 0, 3) (98, 'b', 56, 0, 0) (66, 'B', 56, 0, 1) (2239, 'integral', 56, 0, 2) (697, 'idotless', 56, 0, 3) (110, 'n', 57, 0, 0) (78, 'N', 57, 0, 1) (65107, 'dead_tilde', 57, 0, 2) (16777948, 'U02DC', 57, 0, 3) (109, 'm', 58, 0, 0) (77, 'M', 58, 0, 1) (181, 'mu', 58, 0, 2) (190, 'threequarters', 58, 0, 3) (44, 'comma', 59, 0, 0) (60, 'less', 59, 0, 1) (2236, 'lessthanequal', 59, 0, 2) (65108, 'dead_macron', 59, 0, 3) (46, 'period', 60, 0, 0) (62, 'greater', 60, 0, 1) (2238, 'greaterthanequal', 60, 0, 2) (65109, 'dead_breve', 60, 0, 3) (47, 'slash', 61, 0, 0) (63, 'question', 61, 0, 1) (247, 'division', 61, 0, 2) (191, 'questiondown', 61, 0, 3) (65506, 'Shift_R', 62, 0, 0) (65450, 'KP_Multiply', 63, 0, 0) (269024801, 'XF86ClearGrab', 63, 0, 1) (65513, 'Alt_L', 64, 0, 0) (65511, 'Meta_L', 64, 0, 1) (32, 'space', 65, 0, 0) (65509, 'Caps_Lock', 66, 0, 0) (65470, 'F1', 67, 0, 0) (269024769, 'XF86Switch_VT_1', 67, 0, 1) (65471, 'F2', 68, 0, 0) (269024770, 'XF86Switch_VT_2', 68, 0, 1) (65472, 'F3', 69, 0, 0) (269024771, 'XF86Switch_VT_3', 69, 0, 1) (65473, 'F4', 70, 0, 0) (269024772, 'XF86Switch_VT_4', 70, 0, 1) (65474, 'F5', 71, 0, 0) (269024773, 'XF86Switch_VT_5', 71, 0, 1) (65475, 'F6', 72, 0, 0) (269024774, 'XF86Switch_VT_6', 72, 0, 1) (65476, 'F7', 73, 0, 0) (269024775, 'XF86Switch_VT_7', 73, 0, 1) (65477, 'F8', 74, 0, 0) (269024776, 'XF86Switch_VT_8', 74, 0, 1) (65478, 'F9', 75, 0, 0) (269024777, 'XF86Switch_VT_9', 75, 0, 1) (65479, 'F10', 76, 0, 0) (269024778, 'XF86Switch_VT_10', 76, 0, 1) (65407, 'Num_Lock', 77, 0, 0) (65300, 'Scroll_Lock', 78, 0, 0) (65429, 'KP_Home', 79, 0, 0) (65463, 'KP_7', 79, 0, 1) (65431, 'KP_Up', 80, 0, 0) (65464, 'KP_8', 80, 0, 1) (65434, 'KP_Page_Up', 81, 0, 0) (65465, 'KP_9', 81, 0, 1) (65453, 'KP_Subtract', 82, 0, 0) (269024803, 'XF86Prev_VMode', 82, 0, 1) (65430, 'KP_Left', 83, 0, 0) (65460, 'KP_4', 83, 0, 1) (65437, 'KP_Begin', 84, 0, 0) (65461, 'KP_5', 84, 0, 1) (65432, 'KP_Right', 85, 0, 0) (65462, 'KP_6', 85, 0, 1) (65451, 'KP_Add', 86, 0, 0) (269024802, 'XF86Next_VMode', 86, 0, 1) (65436, 'KP_End', 87, 0, 0) (65457, 'KP_1', 87, 0, 1) (65433, 'KP_Down', 88, 0, 0) (65458, 'KP_2', 88, 0, 1) (65435, 'KP_Page_Down', 89, 0, 0) (65459, 'KP_3', 89, 0, 1) (65438, 'KP_Insert', 90, 0, 0) (65456, 'KP_0', 90, 0, 1) (65439, 'KP_Delete', 91, 0, 0) (65454, 'KP_Decimal', 91, 0, 1) (65027, 'ISO_Level3_Shift', 92, 0, 0) (167, 'section', 94, 0, 0) (177, 'plusminus', 94, 0, 1) (167, 'section', 94, 0, 2) (177, 'plusminus', 94, 0, 3) (65480, 'F11', 95, 0, 0) (269024779, 'XF86Switch_VT_11', 95, 0, 1) (65481, 'F12', 96, 0, 0) (269024780, 'XF86Switch_VT_12', 96, 0, 1) (65318, 'Katakana', 98, 0, 0) (65317, 'Hiragana', 99, 0, 0) (65315, 'Henkan_Mode', 100, 0, 0) (65319, 'Hiragana_Katakana', 101, 0, 0) (65314, 'Muhenkan', 102, 0, 0) (65421, 'KP_Enter', 104, 0, 0) (65508, 'Control_R', 105, 0, 0) (65455, 'KP_Divide', 106, 0, 0) (269024800, 'XF86Ungrab', 106, 0, 1) (65377, 'Print', 107, 0, 0) (65301, 'Sys_Req', 107, 0, 1) (65027, 'ISO_Level3_Shift', 108, 0, 0) (65290, 'Linefeed', 109, 0, 0) (65360, 'Home', 110, 0, 0) (65362, 'Up', 111, 0, 0) (65365, 'Page_Up', 112, 0, 0) (65361, 'Left', 113, 0, 0) (65363, 'Right', 114, 0, 0) (65367, 'End', 115, 0, 0) (65364, 'Down', 116, 0, 0) (65366, 'Page_Down', 117, 0, 0) (65379, 'Insert', 118, 0, 0) (65535, 'Delete', 119, 0, 0) (269025042, 'XF86AudioMute', 121, 0, 0) (269025041, 'XF86AudioLowerVolume', 122, 0, 0) (269025043, 'XF86AudioRaiseVolume', 123, 0, 0) (269025066, 'XF86PowerOff', 124, 0, 0) (65469, 'KP_Equal', 125, 0, 0) (177, 'plusminus', 126, 0, 0) (65299, 'Pause', 127, 0, 0) (65387, 'Break', 127, 0, 1) (269025098, 'XF86LaunchA', 128, 0, 0) (65454, 'KP_Decimal', 129, 0, 0) (65454, 'KP_Decimal', 129, 0, 1) (65329, 'Hangul', 130, 0, 0) (65332, 'Hangul_Hanja', 131, 0, 0) (65515, 'Super_L', 133, 0, 0) (65516, 'Super_R', 134, 0, 0) (65383, 'Menu', 135, 0, 0) (65385, 'Cancel', 136, 0, 0) (65382, 'Redo', 137, 0, 0) (268828528, 'SunProps', 138, 0, 0) (65381, 'Undo', 139, 0, 0) (268828529, 'SunFront', 140, 0, 0) (269025111, 'XF86Copy', 141, 0, 0) (268828531, 'SunOpen', 142, 0, 0) (269025133, 'XF86Paste', 143, 0, 0) (65384, 'Find', 144, 0, 0) (269025112, 'XF86Cut', 145, 0, 0) (65386, 'Help', 146, 0, 0) (269025125, 'XF86MenuKB', 147, 0, 0) (269025053, 'XF86Calculator', 148, 0, 0) (269025071, 'XF86Sleep', 150, 0, 0) (269025067, 'XF86WakeUp', 151, 0, 0) (269025117, 'XF86Explorer', 152, 0, 0) (269025147, 'XF86Send', 153, 0, 0) (269025162, 'XF86Xfer', 155, 0, 0) (269025089, 'XF86Launch1', 156, 0, 0) (269025090, 'XF86Launch2', 157, 0, 0) (269025070, 'XF86WWW', 158, 0, 0) (269025114, 'XF86DOS', 159, 0, 0) (269025069, 'XF86ScreenSaver', 160, 0, 0) (269025140, 'XF86RotateWindows', 162, 0, 0) (269025049, 'XF86Mail', 163, 0, 0) (269025072, 'XF86Favorites', 164, 0, 0) (269025075, 'XF86MyComputer', 165, 0, 0) (269025062, 'XF86Back', 166, 0, 0) (269025063, 'XF86Forward', 167, 0, 0) (269025068, 'XF86Eject', 169, 0, 0) (269025068, 'XF86Eject', 170, 0, 0) (269025068, 'XF86Eject', 170, 0, 1) (269025047, 'XF86AudioNext', 171, 0, 0) (269025044, 'XF86AudioPlay', 172, 0, 0) (269025073, 'XF86AudioPause', 172, 0, 1) (269025046, 'XF86AudioPrev', 173, 0, 0) (269025045, 'XF86AudioStop', 174, 0, 0) (269025068, 'XF86Eject', 174, 0, 1) (269025052, 'XF86AudioRecord', 175, 0, 0) (269025086, 'XF86AudioRewind', 176, 0, 0) (269025134, 'XF86Phone', 177, 0, 0) (269025153, 'XF86Tools', 179, 0, 0) (269025048, 'XF86HomePage', 180, 0, 0) (269025139, 'XF86Reload', 181, 0, 0) (269025110, 'XF86Close', 182, 0, 0) (269025144, 'XF86ScrollUp', 185, 0, 0) (269025145, 'XF86ScrollDown', 186, 0, 0) (40, 'parenleft', 187, 0, 0) (41, 'parenright', 188, 0, 0) (269025128, 'XF86New', 189, 0, 0) (65382, 'Redo', 190, 0, 0) (269025153, 'XF86Tools', 191, 0, 0) (269025093, 'XF86Launch5', 192, 0, 0) (269025094, 'XF86Launch6', 193, 0, 0) (269025095, 'XF86Launch7', 194, 0, 0) (269025096, 'XF86Launch8', 195, 0, 0) (269025097, 'XF86Launch9', 196, 0, 0) (269025193, 'XF86TouchpadToggle', 199, 0, 0) (269025200, 'XF86TouchpadOn', 200, 0, 0) (269025201, 'XF86TouchpadOff', 201, 0, 0) (65406, 'Mode_switch', 203, 0, 0) (65513, 'Alt_L', 204, 0, 1) (65511, 'Meta_L', 205, 0, 1) (65515, 'Super_L', 206, 0, 1) (65517, 'Hyper_L', 207, 0, 1) (269025044, 'XF86AudioPlay', 208, 0, 0) (269025073, 'XF86AudioPause', 209, 0, 0) (269025091, 'XF86Launch3', 210, 0, 0) (269025092, 'XF86Launch4', 211, 0, 0) (269025099, 'XF86LaunchB', 212, 0, 0) (269025191, 'XF86Suspend', 213, 0, 0) (269025110, 'XF86Close', 214, 0, 0) (269025044, 'XF86AudioPlay', 215, 0, 0) (269025175, 'XF86AudioForward', 216, 0, 0) (65377, 'Print', 218, 0, 0) (269025167, 'XF86WebCam', 220, 0, 0) (269025049, 'XF86Mail', 223, 0, 0) (269025166, 'XF86Messenger', 224, 0, 0) (269025051, 'XF86Search', 225, 0, 0) (269025119, 'XF86Go', 226, 0, 0) (269025084, 'XF86Finance', 227, 0, 0) (269025118, 'XF86Game', 228, 0, 0) (269025078, 'XF86Shop', 229, 0, 0) (65385, 'Cancel', 231, 0, 0) (269025027, 'XF86MonBrightnessDown', 232, 0, 0) (269025026, 'XF86MonBrightnessUp', 233, 0, 0) (269025074, 'XF86AudioMedia', 234, 0, 0) (269025113, 'XF86Display', 235, 0, 0) (269025028, 'XF86KbdLightOnOff', 236, 0, 0) (269025030, 'XF86KbdBrightnessDown', 237, 0, 0) (269025029, 'XF86KbdBrightnessUp', 238, 0, 0) (269025147, 'XF86Send', 239, 0, 0) (269025138, 'XF86Reply', 240, 0, 0) (269025168, 'XF86MailForward', 241, 0, 0) (269025143, 'XF86Save', 242, 0, 0) (269025115, 'XF86Documents', 243, 0, 0) (269025171, 'XF86Battery', 244, 0, 0) (269025172, 'XF86Bluetooth', 245, 0, 0) (269025173, 'XF86WLAN', 246, 0, 0)
after applying (the switch)
remove mod1 = Alt_L remove mod4 = Super_L add mod1 = Super_L add mod4 = Alt_L
I get the following:
gtk_keymap: (keyval, name, keycode, group, level) (65307, 'Escape', 9, 0, 0) (49, '1', 10, 0, 0) (33, 'exclam', 10, 0, 1) (50, '2', 11, 0, 0) (64, 'at', 11, 0, 1) (51, '3', 12, 0, 0) (35, 'numbersign', 12, 0, 1) (52, '4', 13, 0, 0) (36, 'dollar', 13, 0, 1) (53, '5', 14, 0, 0) (37, 'percent', 14, 0, 1) (54, '6', 15, 0, 0) (94, 'asciicircum', 15, 0, 1) (55, '7', 16, 0, 0) (38, 'ampersand', 16, 0, 1) (56, '8', 17, 0, 0) (42, 'asterisk', 17, 0, 1) (57, '9', 18, 0, 0) (40, 'parenleft', 18, 0, 1) (48, '0', 19, 0, 0) (41, 'parenright', 19, 0, 1) (45, 'minus', 20, 0, 0) (95, 'underscore', 20, 0, 1) (61, 'equal', 21, 0, 0) (43, 'plus', 21, 0, 1) (65288, 'BackSpace', 22, 0, 0) (65289, 'Tab', 23, 0, 0) (65056, 'ISO_Left_Tab', 23, 0, 1) (113, 'q', 24, 0, 0) (81, 'Q', 24, 0, 1) (119, 'w', 25, 0, 0) (87, 'W', 25, 0, 1) (101, 'e', 26, 0, 0) (69, 'E', 26, 0, 1) (114, 'r', 27, 0, 0) (82, 'R', 27, 0, 1) (116, 't', 28, 0, 0) (84, 'T', 28, 0, 1) (121, 'y', 29, 0, 0) (89, 'Y', 29, 0, 1) (117, 'u', 30, 0, 0) (85, 'U', 30, 0, 1) (105, 'i', 31, 0, 0) (73, 'I', 31, 0, 1) (111, 'o', 32, 0, 0) (79, 'O', 32, 0, 1) (112, 'p', 33, 0, 0) (80, 'P', 33, 0, 1) (91, 'bracketleft', 34, 0, 0) (123, 'braceleft', 34, 0, 1) (93, 'bracketright', 35, 0, 0) (125, 'braceright', 35, 0, 1) (65293, 'Return', 36, 0, 0) (65507, 'Control_L', 37, 0, 0) (97, 'a', 38, 0, 0) (65, 'A', 38, 0, 1) (115, 's', 39, 0, 0) (83, 'S', 39, 0, 1) (100, 'd', 40, 0, 0) (68, 'D', 40, 0, 1) (102, 'f', 41, 0, 0) (70, 'F', 41, 0, 1) (103, 'g', 42, 0, 0) (71, 'G', 42, 0, 1) (104, 'h', 43, 0, 0) (72, 'H', 43, 0, 1) (106, 'j', 44, 0, 0) (74, 'J', 44, 0, 1) (107, 'k', 45, 0, 0) (75, 'K', 45, 0, 1) (108, 'l', 46, 0, 0) (76, 'L', 46, 0, 1) (59, 'semicolon', 47, 0, 0) (58, 'colon', 47, 0, 1) (39, 'apostrophe', 48, 0, 0) (34, 'quotedbl', 48, 0, 1) (96, 'grave', 49, 0, 0) (126, 'asciitilde', 49, 0, 1) (65505, 'Shift_L', 50, 0, 0) (92, 'backslash', 51, 0, 0) (124, 'bar', 51, 0, 1) (122, 'z', 52, 0, 0) (90, 'Z', 52, 0, 1) (120, 'x', 53, 0, 0) (88, 'X', 53, 0, 1) (99, 'c', 54, 0, 0) (67, 'C', 54, 0, 1) (118, 'v', 55, 0, 0) (86, 'V', 55, 0, 1) (98, 'b', 56, 0, 0) (66, 'B', 56, 0, 1) (110, 'n', 57, 0, 0) (78, 'N', 57, 0, 1) (109, 'm', 58, 0, 0) (77, 'M', 58, 0, 1) (44, 'comma', 59, 0, 0) (60, 'less', 59, 0, 1) (46, 'period', 60, 0, 0) (62, 'greater', 60, 0, 1) (47, 'slash', 61, 0, 0) (63, 'question', 61, 0, 1) (65506, 'Shift_R', 62, 0, 0) (65450, 'KP_Multiply', 63, 0, 0) (269024801, 'XF86ClearGrab', 63, 0, 1) (65513, 'Alt_L', 64, 0, 0) (65511, 'Meta_L', 64, 0, 1) (32, 'space', 65, 0, 0) (65509, 'Caps_Lock', 66, 0, 0) (65470, 'F1', 67, 0, 0) (269024769, 'XF86Switch_VT_1', 67, 0, 1) (65471, 'F2', 68, 0, 0) (269024770, 'XF86Switch_VT_2', 68, 0, 1) (65472, 'F3', 69, 0, 0) (269024771, 'XF86Switch_VT_3', 69, 0, 1) (65473, 'F4', 70, 0, 0) (269024772, 'XF86Switch_VT_4', 70, 0, 1) (65474, 'F5', 71, 0, 0) (269024773, 'XF86Switch_VT_5', 71, 0, 1) (65475, 'F6', 72, 0, 0) (269024774, 'XF86Switch_VT_6', 72, 0, 1) (65476, 'F7', 73, 0, 0) (269024775, 'XF86Switch_VT_7', 73, 0, 1) (65477, 'F8', 74, 0, 0) (269024776, 'XF86Switch_VT_8', 74, 0, 1) (65478, 'F9', 75, 0, 0) (269024777, 'XF86Switch_VT_9', 75, 0, 1) (65479, 'F10', 76, 0, 0) (269024778, 'XF86Switch_VT_10', 76, 0, 1) (65407, 'Num_Lock', 77, 0, 0) (65300, 'Scroll_Lock', 78, 0, 0) (65429, 'KP_Home', 79, 0, 0) (65463, 'KP_7', 79, 0, 1) (65431, 'KP_Up', 80, 0, 0) (65464, 'KP_8', 80, 0, 1) (65434, 'KP_Page_Up', 81, 0, 0) (65465, 'KP_9', 81, 0, 1) (65453, 'KP_Subtract', 82, 0, 0) (269024803, 'XF86Prev_VMode', 82, 0, 1) (65430, 'KP_Left', 83, 0, 0) (65460, 'KP_4', 83, 0, 1) (65437, 'KP_Begin', 84, 0, 0) (65461, 'KP_5', 84, 0, 1) (65432, 'KP_Right', 85, 0, 0) (65462, 'KP_6', 85, 0, 1) (65451, 'KP_Add', 86, 0, 0) (269024802, 'XF86Next_VMode', 86, 0, 1) (65436, 'KP_End', 87, 0, 0) (65457, 'KP_1', 87, 0, 1) (65433, 'KP_Down', 88, 0, 0) (65458, 'KP_2', 88, 0, 1) (65435, 'KP_Page_Down', 89, 0, 0) (65459, 'KP_3', 89, 0, 1) (65438, 'KP_Insert', 90, 0, 0) (65456, 'KP_0', 90, 0, 1) (65439, 'KP_Delete', 91, 0, 0) (65454, 'KP_Decimal', 91, 0, 1) (65027, 'ISO_Level3_Shift', 92, 0, 0) (60, 'less', 94, 0, 0) (62, 'greater', 94, 0, 1) (124, 'bar', 94, 0, 2) (166, 'brokenbar', 94, 0, 3) (65480, 'F11', 95, 0, 0) (269024779, 'XF86Switch_VT_11', 95, 0, 1) (65481, 'F12', 96, 0, 0) (269024780, 'XF86Switch_VT_12', 96, 0, 1) (65318, 'Katakana', 98, 0, 0) (65317, 'Hiragana', 99, 0, 0) (65315, 'Henkan_Mode', 100, 0, 0) (65319, 'Hiragana_Katakana', 101, 0, 0) (65314, 'Muhenkan', 102, 0, 0) (65421, 'KP_Enter', 104, 0, 0) (65508, 'Control_R', 105, 0, 0) (65455, 'KP_Divide', 106, 0, 0) (269024800, 'XF86Ungrab', 106, 0, 1) (65377, 'Print', 107, 0, 0) (65301, 'Sys_Req', 107, 0, 1) (65514, 'Alt_R', 108, 0, 0) (65512, 'Meta_R', 108, 0, 1) (65290, 'Linefeed', 109, 0, 0) (65360, 'Home', 110, 0, 0) (65362, 'Up', 111, 0, 0) (65365, 'Page_Up', 112, 0, 0) (65361, 'Left', 113, 0, 0) (65363, 'Right', 114, 0, 0) (65367, 'End', 115, 0, 0) (65364, 'Down', 116, 0, 0) (65366, 'Page_Down', 117, 0, 0) (65379, 'Insert', 118, 0, 0) (65535, 'Delete', 119, 0, 0) (269025042, 'XF86AudioMute', 121, 0, 0) (269025041, 'XF86AudioLowerVolume', 122, 0, 0) (269025043, 'XF86AudioRaiseVolume', 123, 0, 0) (269025066, 'XF86PowerOff', 124, 0, 0) (65469, 'KP_Equal', 125, 0, 0) (177, 'plusminus', 126, 0, 0) (65299, 'Pause', 127, 0, 0) (65387, 'Break', 127, 0, 1) (269025098, 'XF86LaunchA', 128, 0, 0) (65454, 'KP_Decimal', 129, 0, 0) (65454, 'KP_Decimal', 129, 0, 1) (65329, 'Hangul', 130, 0, 0) (65332, 'Hangul_Hanja', 131, 0, 0) (65515, 'Super_L', 133, 0, 0) (65516, 'Super_R', 134, 0, 0) (65383, 'Menu', 135, 0, 0) (65385, 'Cancel', 136, 0, 0) (65382, 'Redo', 137, 0, 0) (268828528, 'SunProps', 138, 0, 0) (65381, 'Undo', 139, 0, 0) (268828529, 'SunFront', 140, 0, 0) (269025111, 'XF86Copy', 141, 0, 0) (268828531, 'SunOpen', 142, 0, 0) (269025133, 'XF86Paste', 143, 0, 0) (65384, 'Find', 144, 0, 0) (269025112, 'XF86Cut', 145, 0, 0) (65386, 'Help', 146, 0, 0) (269025125, 'XF86MenuKB', 147, 0, 0) (269025053, 'XF86Calculator', 148, 0, 0) (269025071, 'XF86Sleep', 150, 0, 0) (269025067, 'XF86WakeUp', 151, 0, 0) (269025117, 'XF86Explorer', 152, 0, 0) (269025147, 'XF86Send', 153, 0, 0) (269025162, 'XF86Xfer', 155, 0, 0) (269025089, 'XF86Launch1', 156, 0, 0) (269025090, 'XF86Launch2', 157, 0, 0) (269025070, 'XF86WWW', 158, 0, 0) (269025114, 'XF86DOS', 159, 0, 0) (269025069, 'XF86ScreenSaver', 160, 0, 0) (269025140, 'XF86RotateWindows', 162, 0, 0) (269025049, 'XF86Mail', 163, 0, 0) (269025072, 'XF86Favorites', 164, 0, 0) (269025075, 'XF86MyComputer', 165, 0, 0) (269025062, 'XF86Back', 166, 0, 0) (269025063, 'XF86Forward', 167, 0, 0) (269025068, 'XF86Eject', 169, 0, 0) (269025068, 'XF86Eject', 170, 0, 0) (269025068, 'XF86Eject', 170, 0, 1) (269025047, 'XF86AudioNext', 171, 0, 0) (269025044, 'XF86AudioPlay', 172, 0, 0) (269025073, 'XF86AudioPause', 172, 0, 1) (269025046, 'XF86AudioPrev', 173, 0, 0) (269025045, 'XF86AudioStop', 174, 0, 0) (269025068, 'XF86Eject', 174, 0, 1) (269025052, 'XF86AudioRecord', 175, 0, 0) (269025086, 'XF86AudioRewind', 176, 0, 0) (269025134, 'XF86Phone', 177, 0, 0) (269025153, 'XF86Tools', 179, 0, 0) (269025048, 'XF86HomePage', 180, 0, 0) (269025139, 'XF86Reload', 181, 0, 0) (269025110, 'XF86Close', 182, 0, 0) (269025144, 'XF86ScrollUp', 185, 0, 0) (269025145, 'XF86ScrollDown', 186, 0, 0) (40, 'parenleft', 187, 0, 0) (41, 'parenright', 188, 0, 0) (269025128, 'XF86New', 189, 0, 0) (65382, 'Redo', 190, 0, 0) (269025153, 'XF86Tools', 191, 0, 0) (269025093, 'XF86Launch5', 192, 0, 0) (269025094, 'XF86Launch6', 193, 0, 0) (269025095, 'XF86Launch7', 194, 0, 0) (269025096, 'XF86Launch8', 195, 0, 0) (269025097, 'XF86Launch9', 196, 0, 0) (269025193, 'XF86TouchpadToggle', 199, 0, 0) (269025200, 'XF86TouchpadOn', 200, 0, 0) (269025201, 'XF86TouchpadOff', 201, 0, 0) (65406, 'Mode_switch', 203, 0, 0) (65513, 'Alt_L', 204, 0, 1) (65511, 'Meta_L', 205, 0, 1) (65515, 'Super_L', 206, 0, 1) (65517, 'Hyper_L', 207, 0, 1) (269025044, 'XF86AudioPlay', 208, 0, 0) (269025073, 'XF86AudioPause', 209, 0, 0) (269025091, 'XF86Launch3', 210, 0, 0) (269025092, 'XF86Launch4', 211, 0, 0) (269025099, 'XF86LaunchB', 212, 0, 0) (269025191, 'XF86Suspend', 213, 0, 0) (269025110, 'XF86Close', 214, 0, 0) (269025044, 'XF86AudioPlay', 215, 0, 0) (269025175, 'XF86AudioForward', 216, 0, 0) (65377, 'Print', 218, 0, 0) (269025167, 'XF86WebCam', 220, 0, 0) (269025049, 'XF86Mail', 223, 0, 0) (269025166, 'XF86Messenger', 224, 0, 0) (269025051, 'XF86Search', 225, 0, 0) (269025119, 'XF86Go', 226, 0, 0) (269025084, 'XF86Finance', 227, 0, 0) (269025118, 'XF86Game', 228, 0, 0) (269025078, 'XF86Shop', 229, 0, 0) (65385, 'Cancel', 231, 0, 0) (269025027, 'XF86MonBrightnessDown', 232, 0, 0) (269025026, 'XF86MonBrightnessUp', 233, 0, 0) (269025074, 'XF86AudioMedia', 234, 0, 0) (269025113, 'XF86Display', 235, 0, 0) (269025028, 'XF86KbdLightOnOff', 236, 0, 0) (269025030, 'XF86KbdBrightnessDown', 237, 0, 0) (269025029, 'XF86KbdBrightnessUp', 238, 0, 0) (269025147, 'XF86Send', 239, 0, 0) (269025138, 'XF86Reply', 240, 0, 0) (269025168, 'XF86MailForward', 241, 0, 0) (269025143, 'XF86Save', 242, 0, 0) (269025115, 'XF86Documents', 243, 0, 0) (269025171, 'XF86Battery', 244, 0, 0) (269025172, 'XF86Bluetooth', 245, 0, 0) (269025173, 'XF86WLAN', 246, 0, 0)
However, when I undo the switch with
remove mod1 = Alt_L remove mod4 = Super_L add mod1 = Super_L add mod4 = Alt_L
the output of
keys.py
does not change any more (same as "after") and the Control-Key works again.
See also: #134 and #149
Would you mind trying again with 0.4.0 to see if the problem is still present? Thanks.
Just tried with 0.4.0 and the problem is still there.
We now use raw X11 code instead of gtk to get to the keyboard keycode mappings, not just for the modifiers to keynames, does that help? (done in r1763 and thereabouts)
If not, please try commenting out this whole section in xkbhelper.py:
for keyname, modifier in DEFAULT_MODIFIER_MEANINGS.items(): if keyname in all_keynames: continue #aleady defined if modifier not in matches: #define it since it is completely missing defaults.setdefault(modifier, set()).add(keyname) elif modifier in ["shift", "lock", "control", "mod1", "mod2"]: #these ones we always add them, even if a record for this modifier already exists matches.setdefault(modifier, set()).add(keyname)
Does that help?
point me to some package please, I cannot install from source.
Yes!!! It works fine now. Great!
Issue migrated from trac ticket # 91
component: client | priority: critical | resolution: fixed
2012-03-27 17:21:09: hamar created the issue