Howto apply default settings for new users created on opensuse based on existing user

I want to setup multiple users which can login on my opensuse desktop. After having created one user and configured all desktop and application settings the way I want it, what is the easiest/best way to create other users so that they have the same configuration for the desktop/applications?

You can use the /etc/skel directory for this purpose. Copy the configuration files over as root. I don’t know if this will work for individual applications though.

On 2013-11-27 20:36, suskewiet wrote:
>
> I want to setup multiple users which can login on my opensuse desktop.
> After having created one user and configured all desktop and application
> settings the way I want it, what is the easiest/best way to create other
> users so that they have the same configuration for the
> desktop/applications?

Do it from script, not yast, and copy an skeleton of directories and
files to your taste. Have a look at the directory “/etc/skel/”.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Ok learned something new with this etc/skel directory. :slight_smile:

so basically I should:

  • Create first user and configure desktop and applications the way I want it for default settings for other users
  • Copy contents of the first users’ home directory to /etc/skel
  • create 2nd, 3rd, … User

2 more questions:

  • Do i have to worry about file/folder permissions or are the permissions set correctly automatically for the new user?
  • are there files which may not be copied to the skel dir?

On 2013-11-27 22:06, suskewiet wrote:

> - Do i have to worry about file/folder permissions or are the
> permissions set correctly automatically for the new user?

No, the skel dir is owned by root. The user creation process applies
them with the new user UID.

> - are there files which may not be copied to the skel dir?

Dunno.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

You did not write which Desktop Environment you are using.

KDE reads its default settings from /etc/kde4/, so in this case you could just copy the configuration files there (same structure as ~/.kde4/).