Initial dockapps git repo
[dockapps.git] / wmfu / extra / README
blob83b852c7789840f6716fd5f6ab48f93b1131fed0
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:
5         KeyPress event...
6         root ...
7         state ..., keycode CODE (keysym ..., SYMBOL)...
8         ...
10  2. Note down 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.