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 To activate the composite, run this command:
gconftool-2 --type bool --set /apps/metacity/general/compositing_manager true
On newer versions (Gnome3), dconf is used instead of gconf, so run this command:
gsettings set org.gnome.metacity compositing-manager true
If you still have a black background, you can try to install xcompmgr (a module to add composite to Metacity). Note, you can also install Compton which is a fork and an evolution of xcompmgr. Use your favorite method to install (aptitude, apt-get, rpm...). You can have xcompmgr and Compiz installed at the same time but you can only run one at a time.
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 shadows 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 |