hamaxx / unity-2d-for-xmonad

Small changes to unity 2d that make using it with xmonad smoother
http://blog.hamsworld.net/2012/01/24/xmonad-on-ubuntu-11-10-oneiric-with-unity-2d/
GNU General Public License v3.0
16 stars 1 forks source link

Changes from standard unity-2d

Setup Xmonad on Ubuntu

Start with this tutorial

Clone this repository

git clone git://github.com/hamaxx/unity-2d-for-xmonad.git

Install unity-2d from Ubuntu repository

sudo apt-get install unity-2d

Install build dependencies for unity-2d from Ubuntu repository

sudo apt-get build-dep unity-2d

Compile unity-2d-for-xmonad

cd unity-2d-for-xmonad
cmake . && make

Running separate components

./launcher/app/unity-2d-launcher
./panel/app/unity-2d-panel
./places/app/unity-2d-places

Install unity-2d-for-xmonad

sudo make install

Enabling Xmonad workspace indicator (Inspired by xmonad-log-applet for gnome panel)

  1. Use my xmonad.hs config file from xmonad-files folder
  2. If you have problems with DBus error message, use the version in xmonad-files (Install with sudo cabal install)
  3. Open dconf-editor, go to "com -> canonical -> unity-2d -> panel " and check the xmonadlog field or add "xmonadlog" to applets field.
  4. Restart unity-2d-panel

What it looks like

Screen shot 1 Screen shot 2

If you experience problems with Xmonad not redrawing windows while switching workspaces, try disabling desktop icons

gsettings set org.gnome.desktop.background show-desktop-icons false