Get help configuring, running and troubleshooting software

Moderator: slax

Location of config-file(s) needed

Postby satuser083 » Tue Aug 07, 2012 9:52 am

I've modified the desktop of my gnome-mmxii installation quite extensively - e.g. swapped the top and bottom panels, added a left-panel, included many apps, launchers, etc. in the latter, etc, etc. I assume that these settings are stored in some config-file/files) somewhere.

Now I'd like to create another user and give that user these facilities; unfortunately I don't know where the config-file(s) is/are. I'm assuming that it would suffice to simply copy it/them into the new user's /home directory and the job's done; please correct me if this is wrong. Can anyone help with the necessary info?

Thanks.
satuser083
Full Member
Full Member
 
Posts: 117
Joined: Fri Jun 18, 2010 12:03 pm
Location: Nottingham, UK

Re: Location of config-file(s) needed

Postby ongoto » Tue Aug 07, 2012 11:33 am

Config files for Gnome would be in hidden directories in /home/user . If you copy/share these between users be sure to reset the ownership.
$ chown -R user:group .directoryname

Directories
.gconf
.gconfd
.config
.local
.gnome2
.gnome2_private
.gnome-color-chooser
.themes
.emerald

Files
.gtkrc-2.0-gnome-color-chooser
.gtkrc-2.0

When you create a new user the default config directories come from /etc/skel. Some people rename /etc/skel ( for backup ) and copy their own configurations to /etc/skel/. Ownership in /etc/skel is root:root. Newly created users then get the new config directories automatically.
Image
--Only a penguin could make a nest out of some rocks--
--Twitter--
--An eternal gem ala Joble--
ongoto
User avatar
Hero Member
Hero Member
 
Posts: 962
Joined: Sun Mar 01, 2009 12:53 pm
Location: California, USA

Re: Location of config-file(s) needed

Postby satuser083 » Wed Aug 08, 2012 4:05 am

ongoto wrote:Config files for Gnome would be in hidden directories in /home/user . If you copy/share these between users be sure to reset the ownership.
$ chown -R user:group .directoryname

.conf
.local
.gnome2
.gnome2_private
.gnome-color-chooser
.themes
.emerald

When you create a new user the default config directories come from /etc/skel. Some people rename /etc/skel ( for backup ) and copy their own configurations to /etc/skel/. Ownership in /etc/skel is root:root. Newly created users then get the new config directories automatically.


Great!! I followed your suggestion of copying/renaming /etc/skel, then copied (as root) the directories you listed from my /home into /etc/skel. The ownership was automatically changed. I couldn't find a directory .conf, however, so assumed that was a typo and copied .config instead. I then created the new user with PCC, logged out and back in as the new user. The desktop looked pretty similar to the default distro one; no panel changes, anyway. So I prodded around in my /home directory and discoved some interesting files in .gconf; I copied this directory into /etc/skel, deleted the user just created, recreated it and logged into it. Voila! :) Pretty much exactly as I wanted.

One funny thing though; the colour changes I'd made to the panels were missing. I started Gnome Color chooser, clicked Apply (without actually having altered any selections) and the changes were made. May be a small snag in Color Chooser, there.

Otherwise, the whole operation worked very well, many thanks for your help :D :D .

Edit: having just read this again, I realise that you probably meant .gconf instead of .conf, so copying .config may have been a mistake.
satuser083
Full Member
Full Member
 
Posts: 117
Joined: Fri Jun 18, 2010 12:03 pm
Location: Nottingham, UK

Re: Location of config-file(s) needed

Postby ongoto » Wed Aug 08, 2012 10:31 am

Thanks for catching those mistakes of mine. I made the corrections in the original post and added a couple of additional files having to do with gnome-color-chooser.
Image
--Only a penguin could make a nest out of some rocks--
--Twitter--
--An eternal gem ala Joble--
ongoto
User avatar
Hero Member
Hero Member
 
Posts: 962
Joined: Sun Mar 01, 2009 12:53 pm
Location: California, USA

Forum Statistics

Who is online

Users browsing this forum: No registered users and 2 guests

Options

Return to PCLinuxOS Gnome Apps & Software