![]() Marketplace:
|
Mapping a KeyFirst find the keycode of the key you wish to map. Do this by running xev and press the key you wish to map (e.g., the Windows key) and look for the keycode:
Create /home/kayon/.Xmodmap and map the keycode to any unused keysym. For example, assuming your keyboard has function keys F1-F12 then generally F13 and beyond are not used, so lets use F15:
For a complete list of keysyms, see
/usr/X11R6/include/X11/keysymdef.h. (You omit the
Run
Now you should be able to bind F15 to any action with, for example, metacity. Even better, sawfish, for example supports custom modifier keys (i.e., modifiers apart from Ctrl, Alt, and Shift- and knows about Hyper). You can map the left windows key:
Then use I end up with /home/kayon/.Xmodmap containing:
|
Marketplace: |
||||||||
| Facts: " Never underestimate the bandwidth of a station wagon full of backup tapes hurling down the highway. " | ||||||||||
Tuesday 22 May 2012 06:22:36 1337667756