Skip to content
This repository

Small changes to unity 2d that make using it with xmonad smoother

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 data
Octocat-spinner-32 docs
Octocat-spinner-32 launcher
Octocat-spinner-32 libunity-2d-private
Octocat-spinner-32 panel
Octocat-spinner-32 places
Octocat-spinner-32 po
Octocat-spinner-32 session
Octocat-spinner-32 spread
Octocat-spinner-32 xmonad-files
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CMakeLists.txt
Octocat-spinner-32 CODING
Octocat-spinner-32 COPYING
Octocat-spinner-32 README.md
Octocat-spinner-32 TODO
Octocat-spinner-32 config.h.in
README.md

Changes from standard unity-2d

  • Xmonad workspace indicator!
  • Display both application name and window title in panel
  • Move launcher under panel so it doesn't cover it
  • Load panel only on the primary screen
  • Don't filter apps in lagacy tray
  • Changed spread(aplication and workspace switcher) behaviour so it's useful in xmonad.
  • Simplified spred layout and animations so it works much faster

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 1Screen 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
Something went wrong with that request. Please try again.