Assigning Shortcuts to Windows Key

Gerald Skerbitz Gerald.Skerbitz at state.mn.us
Fri May 23 23:01:33 CEST 2003


Dang! I tried Hyper, I tried Windows, I tried Super. I tried changing the
sourcecode in keyboard.c.  I can't figure it out.
Below are the output of xmodmap and the xev output for the event of
pressing the keys (there's one on the left and one on the right).
Any other clues?

Gerry

xmodmap:  up to 2 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_R (0x71)
mod2        Num_Lock (0x4d)
mod3        Hyper_L (0x73),  Hyper_R (0x74)
mod4        Hyper_L (0x73),  Hyper_R (0x74)
mod5      

KeyPress event, serial 28, synthetic NO, window 0x1400001,
    root 0x3f, subw 0x0, time 5946692, (46,102), root:(548,388),
    state 0x0, keycode 116 (keysym 0xffee, Hyper_R), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1400001,
    root 0x3f, subw 0x0, time 5946736, (46,102), root:(548,388),
    state 0x60, keycode 116 (keysym 0xffee, Hyper_R), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyPress event, serial 28, synthetic NO, window 0x1400001,
    root 0x3f, subw 0x0, time 5946891, (46,102), root:(548,388),
    state 0x0, keycode 115 (keysym 0xffed, Hyper_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 28, synthetic NO, window 0x1400001,
    root 0x3f, subw 0x0, time 5947014, (46,102), root:(548,388),
    state 0x60, keycode 115 (keysym 0xffed, Hyper_L), same_screen YES,
    XLookupString gives 0 bytes:  ""



Gerald Skerbitz MDH-Environmental Health IRM
651-215-0740  TextPage: gsker at airmessage.net

>>> matlhdam at iinet.net.au 05/23/03 11:46 AM >>>
That's the place to do it. (Funny, I was just setting up a new keytheme
myself tonight.) I got the Windows keys working using Super (I mapped
Super+R to xfrun4, for example).




More information about the Xfce4-dev mailing list