Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48307 - xorg-x11-6.7.0.ebuild keyboard: "windows" keys not working properly
Summary: xorg-x11-6.7.0.ebuild keyboard: "windows" keys not working properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo X packagers
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 51620 (view as bug list)
Depends on:
Blocks: 45610
  Show dependency tree
 
Reported: 2004-04-19 04:21 UTC by Roc Vallès
Modified: 2004-05-28 01:39 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A xorg.conf of the server that isn't working. (xorg.conf,14.93 KB, text/plain)
2004-04-19 04:24 UTC, Roc Vallès
Details
Xorg.0.log (Xorg.0.log.old,37.07 KB, text/plain)
2004-04-19 04:27 UTC, Roc Vallès
Details
9860_all_xorg-xkb_winkeys.patch (9860_all_xorg-xkb_winkeys.patch,728 bytes, patch)
2004-05-15 22:19 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roc Vallès 2004-04-19 04:21:13 UTC
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).
Comment 1 Roc Vallès 2004-04-19 04:24:19 UTC
Created attachment 29604 [details]
A xorg.conf of the server that isn't working.

This is my xorg.conf.
Comment 2 Roc Vallès 2004-04-19 04:27:21 UTC
Created attachment 29605 [details]
Xorg.0.log

Xorg-x11's log for the config I've attached.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-19 18:03:17 UTC
Remove:
Option "XkbRules"	"xorg"

and let me know what happens.
Comment 4 Roc Vallès 2004-04-19 23:41:30 UTC
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.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-25 22:07:23 UTC
Option "XkbOptions" "altwin:left_meta_win"

Does that do anything?
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-25 22:17:03 UTC
Nevermind, I found a forum post of yours that said it didn't.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-26 07:23:04 UTC
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. =)
Comment 8 Roc Vallès 2004-04-27 07:21:05 UTC
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.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-15 22:19:52 UTC
Created attachment 31512 [details, diff]
9860_all_xorg-xkb_winkeys.patch

http://freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=587
Comment 10 Roc Vallès 2004-05-16 15:58:25 UTC
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.
Comment 11 Roc Vallès 2004-05-16 16:44:13 UTC
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 :(.
Comment 12 Roc Vallès 2004-05-16 16:47:57 UTC
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.
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-16 19:58:42 UTC
Glad to hear it! I'll get this into the patchset ASAP.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-28 01:39:18 UTC
*** Bug 51620 has been marked as a duplicate of this bug. ***
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2004-05-28 01:39:44 UTC
Fixed in CVS, in patchset 0.7.