I’m loving AWN dock. My only gripe is that the volume control applet is broken, at least it is for me. For some reason my master volume has no effect on the actual volume. The slider moves up and down quite freely, but the volume remains unchanged. PCM volume works fine, so I thought I’d use that instead, however the volume applet only lists master. Bugger.

Turns out this is a bug – https://bugs.launchpad.net/awn-extras/+bug/497002

sudo gedit /usr/share/avant-window-navigator/applets/volume-control/volume-control.py

Skip down to line 65 and remove pulseaudio. You should be left with

mixer_names = ("oss4mixer", "alsamixer")

Save. Close. Relaunch AWN (restart, kill it, whatever). You can now select other mixers on the volume control applet preferences.

I love my 5 button mouse like no man should love an inanimate object. It’s getting on a bit and starting to go a little yellow, but that’s not the point. When I used this mouse on a Mac I could map the side buttons to Exposé actions, like tile all windows and show the desktop. I want to do the same in Linux, damnit.

With compiz you can do lots of lovely (and some pointless) things. Things like making the windows wobbly, or make it rain flaming globs of semen. I think. What you can’t do is map a mouse button to the show desktop action. Poop.

I searched for a while and came across this page with a very handy little script. A quick correction/update to the syntax and it works a treat.

From the command line

sudo apt-get install wmctrl
gedit ~/showdesktop.sh

paste this in :

#!/bin/bash desktopStatus=`wmctrl -m | grep mode | cut -d\: -f2`
if [ "$desktopStatus" = " OFF" ]
wmctrl -k on
wmctrl -k off

Save and go back to command line

chmod +x ~/showdesktop.sh

You can now specify this command to run from a mouse button. Button 9 in my case. Open up compizconfig, go into commands and enter ~/showdesktop.sh in one of the commands then bind your button in the button bindings tab.