You are not logged in.

#1 2018-09-11 19:26:56

eryx
Member
Registered: 2018-09-11
Posts: 24

how to duplicate a user settings to a new user?

how can i duplicate a user settings to other user? for example i set everything up in root but then when i open a new user all the settings go to default like a new install i want to get all the settings from root user to pass to a new user.

Offline

#2 2018-09-11 19:30:12

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: how to duplicate a user settings to a new user?

Most programs store their settings in the ~/.config directory.  You can usually find the configuration files there, and just copy them to the desired user.  Make sure the permissions are right though, especially if you are copying from root.

Offline

#3 2018-09-12 15:30:08

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: how to duplicate a user settings to a new user?

When you create a new user; the content of /etc/skel is copied into its home folder. As circleface said, most program store their settings in the  ~/.config directory. Some of them store their config into some hidden folders or files (beginnig with .) usually with the $HOME directory. Also you should avoid to copy the config file if you are logged in as the user you want to copy the config from. Because some of the config files will be in use.

Offline

Board footer

Powered by FluxBB