Activating the mod4 (a.k.a Super) and other special keys
Posted: 4. Sep 2010, 16:36
Code: Select all
$ xmodmap
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
I also got some key with an "Orange Toolbox"
Pressing this key when xev is running gave:
Code: Select all
KeyPress event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1735204, (644,-41), root:(951,307),
state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1735232, (644,-41), root:(951,307),
state 0x0, keycode 156 (keysym 0x1008ff41, XF86Launch1), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Code: Select all
KeyPress event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1880205, (451,-79), root:(776,287),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1880323, (451,-79), root:(776,287),
state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Code: Select all
KeyPress event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1949701, (203,-73), root:(564,329),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1949783, (203,-73), root:(564,329),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Code: Select all
KeyPress event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1973556, (526,37), root:(905,457),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x2400001,
root 0xb8, subw 0x0, time 1973638, (526,37), root:(905,457),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False