Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an official tool that can save and restore gnome-specific settings ? I know several applications uses ~/.config, I don't care about them, just settings for gnome, e.g panel applets, keyboard shortcuts, and other application uses gconf.

P.S: it's best for both gnome2/3

share|improve this question
Usually it's enough to backup/restore ~/.config. Doesn't that work in your case? – phunehehe Jul 2 '12 at 5:41
@phunehehe Simply copying ~/.config doesn't work in my case (Ubuntu Gnome Shell Remix 12.04) – user24321 Oct 6 '12 at 0:39

You can also dump the Gconf database and reload it on a new installation:

[user@oldinstall] gconftool-2 --dump / > gconf_dump.xml
[user@newinstall] gconftool-2 --load gconf_dump.xml

I can't say I have tried this myself and I don't know how far it will go in backing up your individual settings. It should work fine for backing up things like your wallpaper, your panel configuration and so on. It will definitely not back up your application settings; for that you need terdon's answer.


share|improve this answer

Backup both ~/.config/ and ~/.gnome2/. You may as well also get ~/.icons and ~/.themes.

As far as i know, there is no ~/.gnome3/.

share|improve this answer
Why only ~/.gnome2? There is no ~/.gnome3? What's the relationship between ~/.config and ~/.gnome{2,3}? – phunehehe Oct 6 '12 at 14:42
@phunehehe, see updated answer. As for the difference, each dir has different config files but i don't know the details. – terdon Oct 6 '12 at 15:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.