Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces How to... set a defalt theme for new users?
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)
Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
How to... set a defalt theme for new users?
Guest 2

Guest, Thursday 30 May 2013 à 10:43 | Quote

Hi,
I'm wondering if there's a manner to set a theme as default to every new user on the system.
This means:

- same icons
- same programs and groups
- same dock disposition

... in one word: a clone of the "main user" dock.

What is the best (and clean) method to obtain that?

Thanks!

matttbe, Friday 31 May 2013 à 21:03 | Quote


Subscription date : 24 January 2009
Messages : 12573
Hello and thank you for this question,

I think there is two best ways:
  • When the dock is launched for the first time, it will duplicate all files from the default theme. Simply modify the content of these dirs (but note that these files will be overwritten when updating the dock):
    • /usr/share/cairo-dock/themes/Default-Single/
    • or /usr/share/cairo-dock/themes/Default-Panel if you're using the 'cairo-dock' session.
  • You can add your own ~/.config/cairo-dock/ dir to this dir: /etc/skel/
    sudo mkdir -p /etc/skel/.config/
    sudo cp -r ~/.config/cairo-dock /etc/skel/.config/
    sudo chown root:root -R /etc/skel/.config
    (but I'm not sure that it will works but it's maybe the cleanest solution)

Or you can also modify the source code, or launch the dock with '-d' option but it's maybe not so clean/easy

Tips and Tricks | Trucs et Astuces

Subjects Author Language Messages Last message
How to... set a defalt theme for new users?
Guest 2

Post a message

Anti-spam filter 8 (*) times (*) 10 =
            
Did you know ? You can easily create a link to a user profile by using the tag : [[u:NAME]]


Glx-Dock / Cairo-Dock List of forums Tips and Tricks | Trucs et Astuces How to... set a defalt theme for new users? 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.