1 Adding special keys to WindowMaker using built-in functionality.
2 ================================================================
4 1. Start xev and press the desired key. It will display something like:
7 state ..., keycode CODE (keysym ..., SYMBOL)...
11 If SYMBOL is NoSymbol, look into /usr/X11/lib/X11/XKeysymDB and pick
12 the symbol that best describes your key's functionality (eg: XF86WWW).
13 Append the new key to XModmap:
14 echo keycode CODE = SYMBOL >> ~/.Xmodmap
16 3. Restart WindowMaker.
18 4. Create a new menu entry somewhere in ~/GNUstep/Defaults/WMRootMenu
19 ("name", SHORTCUT, "SYMBOL", EXEC, "command"),
21 Adding special keys to WindowMaker using xhookey.
22 =================================================
24 xhookey -key="[MOD+[MOD+]...]CODE COMMAND"
26 MOD is optional, and can be any of Shift, Control or Alt.
27 CODE is the desired key's code, as reported by xev.
28 COMMAND is the command to be executed (it inherits the DISPLAY of xhookey).
30 Much of the xhookey code was taken from xbindkeys.