Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

    

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.

Post a comment

Required
Required, but not displayed
Optional

Format using Markdown. (No HTML.)
  • Code blocks: prefix each line by at least 4 spaces or 1 tab (and a blank line before and after)
  • Code span: surround with backticks
  • Blockquotes: prefix lines to be quoted with >
  • Links: <URL>
  • Links w/ description: [description](URL)
Created with Django | Hosted by Slicehost