Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Small changes to unity 2d that make using it with xmonad smoother
C++ Haskell Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data
docs
launcher
libunity-2d-private stupid parser from gtk to qt markup
panel segfault if no active window, show xmonadlog on empty screen, f10 fix
places
po unity 2d 4.12.0
session
spread
xmonad-files display xmonadlog in appname applet. UPDATE XMONAD.HS!
.gitignore
CMakeLists.txt unity 2d 4.12.0
CODING
COPYING unity 2d 4.12.0
README.md
TODO unity 2d 4.12.0
config.h.in unity 2d 4.12.0

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