Oct 27, 2013 - Howto install Xmonad on a Ubuntu Machine

Comments

Install

Make sure, the following programs are installed on the machine. By default none of them is installed.

Haskell Compiler

First of all the haskell compiler `ghc` is needed. This is due to you have to compile your `xmonad.hs` file to load new
configurations.

    sudo apt-get install ghc

xmonad

The window manager xmonad is the next. You can do this, with the
following command.

    sudo apt-get install xmonad

Within Ubuntu 12.04LTS the xmonad version 0.10 is used. At the time of writing this post, there is a newer version: 0.11. Howto install the latest xmonad, will be handled in another article.

xmonad-contrib

It is a good idea to install the `xmonad-contrib` library. This is not mandatory to run xmonad, but it's highly recommended.
(Sometimes the xmonad-contrib is installed together with xmonad)

    sudo apt-get install xmonad-contrib

xinit

If you want to startup the X11 system with the `startx` command,
the `xinit` package is needed.

    sudo apt-get install xinit   

Otherwise you have to configure your graphical logon manager
(e.g. gdm or kdm) to start the xmonad window manager.

gnome-panel

Xmonad is a window manager. It does not include any kind of
information bar. However it integrates pretty well with e.g.
`gnome-panel`.

    sudo apt-get install gnome-panel   

Alternatives would be:

  • xmobar

  • dzen

urxvt

One of the most used programs will be a terminal. I like to use
`urxvt` as terminal. But any other terminal is fine.

    sudo apt-get install urxvt   

If you want to stay with gnome standard tools, `gnome-terminal`
would be the one to use.