Remove shortcut to drives on Unity taskbar
Only one command is needed to remove al shortcuts to mounted drives on the unity taskbar:
In a terminal type:
gconftool --set /apps/compiz-1/plugins/unityshell/screen0/options/devices_option --type=int 0
and log in again
To get them back use:
gconftool --set /apps/compiz-1/plugins/unityshell/screen0/options/devices_option --type=int 1
Drives that are mounted after you logged in, wil appear on the unity bar though.