Since I've migrated from xfree 4.3 to xorg-x11-6.7.0.ebuild, I couldn't get the "windows" Keys working properly. The menu key is working, through. Not working properly means: - Cannot switch desktops with icewm using it. - Cannot switch irssi's windows while irssi's running in a uxterm (unicode xterm... comes in the xterm ebuild and is basically a shortcut for xterm -u8). But there's some interesting stuff happening. xmodmap outputs: xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x7f), Hyper_L (0x80) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c) With xev, If I press the left "windows" and then the right "windows": KeyPress event, serial 30, synthetic NO, window 0x1000001, root 0x8d, subw 0x0, time 25671407, (40,73), root:(921,654), state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1000001, root 0x8d, subw 0x0, time 25671529, (40,73), root:(921,654), state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: KeyPress event, serial 30, synthetic NO, window 0x1000001, root 0x8d, subw 0x0, time 25673232, (40,73), root:(921,654), state 0x10, keycode 116 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1000001, root 0x8d, subw 0x0, time 25673332, (40,73), root:(921,654), state 0x50, keycode 116 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: It seems the problem is affecting more people, hence the forums thread (bug URL).
Created attachment 29604 [details] A xorg.conf of the server that isn't working. This is my xorg.conf.
Created attachment 29605 [details] Xorg.0.log Xorg-x11's log for the config I've attached.
Remove: Option "XkbRules" "xorg" and let me know what happens.
Commented out that line. It doesn't help. From Xorg.0.log: (==) ServerLayout "Simple Layout" (**) |-->Screen "Screen 1" (0) (**) | |-->Monitor "FE750" (**) | |-->Device "WinFast A170 DDR TH" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) Option "AutoRepeat" "500 30" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "es" (**) XKB: layout: "es" (==) Keyboard: CustomKeycode disabled xev output and xmodmap output are still the same.
Option "XkbOptions" "altwin:left_meta_win" Does that do anything?
Nevermind, I found a forum post of yours that said it didn't.
Guys, FYI this is way down on my priority list now so I'd really appreciate it if you'd continue trying to find a solution rather than a workaround. Working windows keys just aren't as important as broken compilations and failure to start at all, sorry. =)
It does work on gnome (gnome-base/gnome-desktop-2.6.1) Weird? Yes, it is. It doesn't work on icewm (emerged Wed Feb 4 09:31:48 2004, way before I upgraded to xorg-x11), nor trying to swap irssi windows on uxterm like I used to do, through.
Created attachment 31512 [details, diff] 9860_all_xorg-xkb_winkeys.patch http://freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=587
Built xorg with that 9860_all_xorg-xkb_winkeys.patch thing. That's a leftwin+1, and keeping windows pressed, +2, +3 and +4. KeyPress event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 392356, (-295,677), root:(609,704), state 0x10, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 392519, (-295,677), root:(609,704), state 0x50, keycode 10 (keysym 0x31, 1), same_screen YES, XLookupString gives 1 bytes: (31) "1" XmbLookupString gives 1 bytes: (31) "1" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 392619, (-295,677), root:(609,704), state 0x50, keycode 10 (keysym 0x31, 1), same_screen YES, XLookupString gives 1 bytes: (31) "1" KeyPress event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393204, (-295,677), root:(609,704), state 0x50, keycode 11 (keysym 0x32, 2), same_screen YES, XLookupString gives 1 bytes: (32) "2" XmbLookupString gives 1 bytes: (32) "2" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393270, (-295,677), root:(609,704), state 0x50, keycode 11 (keysym 0x32, 2), same_screen YES, XLookupString gives 1 bytes: (32) "2" KeyPress event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393603, (-295,677), root:(609,704), state 0x50, keycode 12 (keysym 0x33, 3), same_screen YES, XLookupString gives 1 bytes: (33) "3" XmbLookupString gives 1 bytes: (33) "3" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393667, (-295,677), root:(609,704), state 0x50, keycode 12 (keysym 0x33, 3), same_screen YES, XLookupString gives 1 bytes: (33) "3" KeyPress event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393876, (-295,677), root:(609,704), state 0x50, keycode 13 (keysym 0x34, 4), same_screen YES, XLookupString gives 1 bytes: (34) "4" XmbLookupString gives 1 bytes: (34) "4" XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 393950, (-295,677), root:(609,704), state 0x50, keycode 13 (keysym 0x34, 4), same_screen YES, XLookupString gives 1 bytes: (34) "4" KeyRelease event, serial 30, synthetic NO, window 0x1600001, root 0x8d, subw 0x0, time 394043, (-295,677), root:(609,704), state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: Note that the patch didn't aply cleanly. (+8 line offsets) Neither IceWM desktop switching with windows key, nor swapping irssi windows on uxterm work yet.
It works now! Just forgot to etc-upgrade after building the patched X. It works fine after etc-upgrading :). Now I can swap desktops with icewm using the leftwin+number scheme, but the leftalt+number scheme that I used to swap irssi windows with, in uxterm, doesn't work yet :(.
The uxterm+irssi window swapping thingy works now, but I had to enable "Meta Sends Escape" at its C-leftclick menu. I don't recall having disabled it in the past, but it's possible that I did that testing.
Glad to hear it! I'll get this into the patchset ASAP.
*** Bug 51620 has been marked as a duplicate of this bug. ***
Fixed in CVS, in patchset 0.7.