It is important to mention that a composite manager such as Compiz-Fusion, Beryl, xcompmgr (for metacity), xfwm4 (for Xfce), Kwin (for KDE) is highly recommended to fully enjoy Cairo-Dock.
Cairo-Dock uses the transparency feature of these managers to display the dock. Without them the background of the dock will be black.
Below are some option if you don't want to install Compiz.
XFCE The easiest way is to activate the composite manager
KDE The latest version of KDE support transparency. If it is not yet activated:
On KDE3 kwin should support compositing by default, but on KDE4 you have to enable it.
Simply run systemsettings and do the following:
Look & Feel --> Desktop --> Desktop Effects --> Enable Desktop Effects
then apply and start/restart your Cairo-dock to enjoy it
Metacity/Gnome If after having changed this key with this command :gconftool-2 --type bool --set /apps/metacity/general/compositing_manager true orgsettings set org.gnome.metacity compositing-manager true you already have a black background, read this :
You will have to install xcompmgr (a module to add composite to Metacity). Use your favorite method to install (aptitude, apt-get, rpm...). You can have xcompmgr and Compiz or Beryl installed at the same time but you can run both in paralel.
Once installed you need to add it to your startup. see here for the method. Use the following command:
This will activate transparency as well as add a shadow on your windows
You can also list all the options. Type this in a terminal:
Note: With some old cards (old ATI for example), xcompmgr will not work. The only solution to get transparency is to install XGL |