First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 48307
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: vallesroc@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xorg.conf A xorg.conf of the server that isn't working. text/plain vallesroc@gmail.com 2004-04-19 04:24 0000 14.93 KB Details
Xorg.0.log.old Xorg.0.log text/plain vallesroc@gmail.com 2004-04-19 04:27 0000 37.07 KB Details
9860_all_xorg-xkb_winkeys.patch 9860_all_xorg-xkb_winkeys.patch patch Donnie Berkholz 2004-05-15 22:19 0000 728 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 48307 depends on: Show dependency tree
Bug 48307 blocks: 45610
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-19 04:21 0000
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 From vallesroc@gmail.com 2004-04-19 04:24:19 0000 -------
Created an attachment (id=29604) [details]
A xorg.conf of the server that isn't working.

This is my xorg.conf.

------- Comment #2 From vallesroc@gmail.com 2004-04-19 04:27:21 0000 -------
Created an attachment (id=29605) [details]
Xorg.0.log

Xorg-x11's log for the config I've attached.

------- Comment #3 From Donnie Berkholz 2004-04-19 18:03:17 0000 -------
Remove:
Option "XkbRules"	"xorg"

and let me know what happens.

------- Comment #4 From vallesroc@gmail.com 2004-04-19 23:41:30 0000 -------
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 From Donnie Berkholz 2004-04-25 22:07:23 0000 -------
Option "XkbOptions" "altwin:left_meta_win"

Does that do anything?

------- Comment #6 From Donnie Berkholz 2004-04-25 22:17:03 0000 -------
Nevermind, I found a forum post of yours that said it didn't.

------- Comment #7 From Donnie Berkholz 2004-04-26 07:23:04 0000 -------
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 From vallesroc@gmail.com 2004-04-27 07:21:05 0000 -------
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 From Donnie Berkholz 2004-05-15 22:19:52 0000 -------
Created an attachment (id=31512) [details]
9860_all_xorg-xkb_winkeys.patch

http://freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=587

------- Comment #10 From vallesroc@gmail.com 2004-05-16 15:58:25 0000 -------
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 From vallesroc@gmail.com 2004-05-16 16:44:13 0000 -------
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 From vallesroc@gmail.com 2004-05-16 16:47:57 0000 -------
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 From Donnie Berkholz 2004-05-16 19:58:42 0000 -------
Glad to hear it! I'll get this into the patchset ASAP.

------- Comment #14 From Donnie Berkholz 2004-05-28 01:39:18 0000 -------
*** Bug 51620 has been marked as a duplicate of this bug. ***

------- Comment #15 From Donnie Berkholz 2004-05-28 01:39:44 0000 -------
Fixed in CVS, in patchset 0.7.

First Last Prev Next    No search results available      Search page      Enter new bug