How to copy theme changes to new user

5 réponses [Dernière contribution]
Bachmann
Hors ligne
A rejoint: 09/16/2012

How do i copy changes to theme to new user.

Magic Banana

I am a member!

I am a translator!

En ligne
A rejoint: 07/24/2010

I never did that but isn't it about copying a directory from your ~/.themes to that of the new user?

Bachmann
Hors ligne
A rejoint: 09/16/2012

there is no such file or dir as ~/.themes

5gon12eder (non vérifié)
5gon12eder

I'm not so sure what exactly you want to copy and what not. Also, I don't know for what purpose you want to do it.

As an example, on my system, the desktop wallpaper is referenced in the file ~/.gconf/desktop/gnome/background/%gconf.xml which refers to the image ~/.cache/gnome-control-center/backgrounds/… where the last part of the path seems to be some kind of hash number. However, I don't think you would usually want to copy either of these directories from any old to a new user.

If you are an admin and want to set up your folks accounts that will initially look different from the Trisquel default, you could create a dummy user that you do nothing with except changing those settings. Now it should be safe to copy this user's home directory more or less completely to any new user's. (I didn't try this, however.)

If you know how to do the desired changes from the command line, a setup script that you run for each user you create would probably be the best solution.

jbar
Hors ligne
A rejoint: 01/22/2011

"If you are an admin and want to set up your folks accounts that will initially look different from the Trisquel default, you could create a dummy user that you do nothing with except changing those settings. Now it should be safe to copy this user's home directory more or less completely to any new user's. (I didn't try this, however.)"

Files in /etc/skel will be automatically copied over to a new user's home directory when such user is created, so it's a good place to put default config files for new users.

Bachmann
Hors ligne
A rejoint: 09/16/2012

which files or dir to copy to /etc/skel?