Assigning Shortcuts to Windows Key
Olivier Fourdan
fourdan at xfce.org
Fri May 23 23:35:22 CEST 2003
Gerald,
Those aren't modifiers! You can't just use them along with another key
(just like one does with Shift, Meta, etc.)
You can bind commands to the keys, though. Just get the name of the key
(that might depend on you xmodmap config) and use that name in the
keythemerc of your choice.
Cheers,
Olivier.
On Fri, 2003-05-23 at 23:01, Gerald Skerbitz wrote:
> 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).
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
--
Olivier Fourdan <fourdan at xfce.org>
http://www.xfce.org
More information about the Xfce4-dev
mailing list