Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki Execute cairo-dock at startup
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Information : The version displayed on this page is not the latest available.
History View code

Glx-Dock / Cairo-Dock




de Deutsch

en English

fr Français

Support Us

Flattr this


Execute cairo-dock at startup

Execution options

With OpenGL
Useable for all nVidia users

In the command field, execute Cairo-dock as follows

cairo-dock -o

Without OpenGL / With the Cairo backend
If you've experienced any trouble with OpenGL, use the Cairo backend

In the command field, execute Cairo-dock as follows

cairo-dock -c

The method differs according to your desktop environment


Menu : "System" / "Preferences" / "Sessions" or "Startup application" / "Add"
In the name field, type in Cairo-Dock and in the command field, add the above command that matches your configuration

  • "Kde Control center" / "Kde components" / "Add"
  • Or "Configure your desktop" / "Advanced" tab / "Autostart" / "Add a program" ; In the browser, find "Tools" / "System tools" "GLX-Dock (Cairo dock with OpenGl)".
Do not enable the option that save the current running programs, otherwise, two docks will be executed.

Menu : "Settings" / "Session and startup" / "Application autostart" tab / "Add"

Add the following to the bottom of your ~/.config/openbox/autostart.sh

cairo-dock -c

With Beryl, Cairo-Dock is on only one cube face
Cairo-dock can sometimes have a curious behaviour, although a next execution would perfectly work.

It is then recommended to execute Cairo-dock with a delay. In your session manager, type in this command:
sh -c "sleep 15 && cairo-dock -o"

Adapt this code to needs and your computer (this example will wait for 15s will turn on OpenGl)

A message at startup?

This is because you do not "force" a specific mode (OpenGL or Cairo backend). Then use the command cairo-dock -c (libcairo2) or cairo-dock -o (OpenGL).

Two docks at startup?

Do not save your running programs when logging off.
  • For Gnome: In the menu "System" / "Preferences" / "Sessions" or "Startup applications" , "Options" tab, do not enable "Remember running applications..."
  • For KDE: Go to "Configure your desktop" / "Advanced" tab / "Session manager" and in the section "At login" tick "Start with an empty session"
  • For XFCE: Go to your Session Manager in order to disable this option. If you have two docks at startup and this option is disabled, simply remove the cache:
    rm ~/.cache/sessions/x*

Glx-Dock / Cairo-Dock Wiki Execute cairo-dock at startup Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.