SaltyCrane Blog — Notes on JavaScript and web development

Install wmii snapshot

These are my notes for installing wmii snapshot in my home directory on Ubuntu 8.04 Hardy.

  • Download the latest snapshot (wmii+ixp-20080520) from the wmii homepage and save it to ~/incoming.
  • Untar the snapshot.
    $ cd ~/incoming
    $ tar -zxvf wmii+ixp-20080520.tgz
  • Install prerequisites:
    $ sudo apt-get install build-essential xorg-dev
    $ sudo apt-get install dwm-tools
  • Build: (I left the defaults for everything during make config except for the path. I changed this to a temporary directory, ~/tmp/wmii.)
    $ cd ~/incoming/wmii+ixp-20080520
    $ make config
    $ make 
    $ make install
  • Move bin, etc, lib, and share to a new wmii directory.
    $ mkdir ~/lib/wmii
    $ mv ~/tmp/wmii/* ~/lib/wmii
  • Create links in my ~/bin directory:
    $ cd ~/bin
    $ ln -s ../lib/wmii/bin/wihack wihack
    $ ln -s ../lib/wmii/bin/wmii9rc wmii9rc
    $ ln -s ../lib/wmii/bin/wmii9menu wmii9menu
    $ ln -s ../lib/wmii/bin/wmii.rc wmii.rc
    $ ln -s ../lib/wmii/bin/wmii.sh wmii.sh
  • Create a .xinitrc script:
    xmodmap ~/.Xmodmap
    gnome-screensaver&
    urxvt&
    
    until wmii; do
        true
    done
  • And link ~/.xsession to it:
    $ ln -s ~/.xinitrc ~/.xsession
  • Log out of the current window manager and then select X client script as the session and log in.

Comments