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)
History View code

Glx-Dock / Cairo-Dock

Home

History

Language

de Deutsch

en English

fr Français

Support Us

Flattr this

Cairo-Dockon

Execute cairo-dock at startup

Execution options


Automatic and generic method
Since the 2.2.0 version of the dock, it's really easy to automatically launch the dock at startup. Simply launch the dock and do a right click on it / Cairo-Dock Menu / Launch the dock at startup.



.



Manual method

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




Gnome

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
  • "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.



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

Openbox
Alt. 1
  • Append the following in your ~/.config/openbox/autostart.sh

cairo-dock &

  • Log out and log back in
Alt. 2 (not verified)
  • Run the dock

cairo-dock &

  • Right-click the dock > Cairo Dock > Start Cario Dock Automatically
  • Log out and log back in.


Troubleshooting
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 : sangkurian,

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.