Hi, I have just upgraded my Debian GNU/Linux running on a HP Pavilion dv6580et notebook and xkb-data messed up my whole Alt/AltGr key configuration. (Google and mailing list archives pointed out that dozens of people reported similar problems but no particular solution. People just try downgrading xkb-data, but I hope there exists a more logical way of fixing the problem.)
I'm using a Turkish-Q keyboard layout and some of the key combinations depending on Alt/AltGr keys don't work anymore. For instance, some of the problematic combinations I find are listed below Key Combination Should Produce --------------- -------------- AltGr+q @ Alt+Shift+< Alt-> AltGr+< | AltGr+ΓΌ ~ AltGr+3 # AltGr+4 $ The strange thing is above keys don't work in urxvt (screen, emacs, etc.) and firefox, but, for instance, "|", "~", "#", "$" prints without a problem in WindowMaker configuration window and I can toggle between available WindowMaker desktops using Alt+F1, Alt+F2, etc. keys. Moreover, in "xev", I can see related keys produces "|", "~", "#", "$" characters. For instance, below is my xev output while trying to press a pipe character: KeyPress event, serial 27, synthetic NO, window 0xc00001, root 0x65, subw 0x0, time 9684949, (174,178), root:(276,271), state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 30, synthetic NO, window 0xc00001, root 0x65, subw 0x0, time 9686068, (174,178), root:(276,271), state 0x88, keycode 94 (keysym 0x7c, bar), same_screen YES, XKeysymToKeycode returns keycode: 21 XLookupString gives 1 bytes: (7c) "|" XmbLookupString gives 1 bytes: (7c) "|" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0xc00001, root 0x65, subw 0x0, time 9686105, (174,178), root:(276,271), state 0x88, keycode 94 (keysym 0x7c, bar), same_screen YES, XKeysymToKeycode returns keycode: 21 XLookupString gives 1 bytes: (7c) "|" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0xc00001, root 0x65, subw 0x0, time 9688251, (174,178), root:(276,271), state 0x88, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Moreover, in emacs, C-h k AltGr-3 tells me that the resultant character is M-#, instead of #. It seems that Alt key appears to be pressed constantly. (Same applies to C-h k AltGr-4.) Any ideas about what might be causing the problem? Regards.
xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x6d) control Control_L (0x25), Control_L (0x42) mod1 Alt_L (0x40), ISO_Level3_Shift (0x71), Meta_L (0x9c) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x7f), Hyper_L (0x80) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
ii libx11-6 2:1.1.5-2 ii libx11-data 2:1.1.5-2 ii xkb-data 1.3-2 ii xserver-xorg-input-kbd 1:1.3.1-1 No packages found No packages found
xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+tr" }; xkb_geometry { include "pc(pc105)" }; };
xorg.conf
Description: Binary data