Installing BadWM

After compiling BadWM run the program "showkey" (if it is not avaiable from
your distribution you can get it from http://catb.org/~esr/showkey/ ). 
You need to decide which key you want to use for the main functions.
Press the key and note the keycode printed out.

Add/adapt the following two lines to your ~/.xinitrc (change YOUR_KEYCODE
with the keycode printed out above):
xmodmap -e "keycode YOUR_KEYCODE = Multi_key"
xmodmap -e "add Mod4 = Multi_key"

An example of a ~/.xinitrc is shown below:
# begin ~/.xinitrc
xsetroot -solid \#400040 -cursor_name top_left_arrow
/usr/local/bin/BadWM &
xterm  -geometry  +1+1  -n  login  -display  :0 & 
xclock -digital -padding 2 -g -0+0
# end ~/.xinitrc

Note that in this case 'xclock' is the magic process (the one that if
you kill it, your session dies).
Also note that it sets the cursor shape and background color with
standard X tools (BadWM won't do this for you -  the tools already
exist!).
