Taken from my long-running helpfiles.md file, which can be found at my github.

I’m part way through setting up Xmonad to work with Xfce under ubuntu 13.04, and I figure I should probably start recording this whole process:

Step one, install

Download and install Xmonad using sudo apt-get install xmonad.

Step two, configure xmonad

Configure xmonad to work properly by editing the xmonad.hs file in ~/.xmonad. I have mine set to this now:

import XMonad.Config.Xfce
main = xmonad xfceConfig
       { terminal = "gnome-terminal"
       , modMask = mod1Mask -- sets to alt key 
       , borderWidth = 1 --was "3"
       , focusedBorderColor = "#4099FF"
       , normalBorderColor = "#474747"
       }

See this page for additional info on doing this properly: http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_XFCE

Step three, set up dmenu.

I really need dmenu to function, so I’ve chosen to install it in this installation. I got most of the instructions from here: http://ubuntuforums.org/showthread.php?t=1746773

Step four, configure xmonad

Again, the instructions for this can be found here: http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_XFCE#Ensure_Xmonad_gets_started