I'd like to synchronize the configuration of my gnome panel(s) between computers and keep the configuration in Git. How can I dump / import the necessary information? I already found gconftool2 --dump but did not find anything that looked like my panel configuration inside.

Update: I'm using gnome3 classic mode (together with xmonad as window-manager). I found the configuration setting with the dconf-editor below org.gnome.gnome-panel.layout. It's however still cumbersome to come up with the correct shell scripting to extract and sync only the configuration that I want to share.

I've opened a wishlist issue in the gnome bugzilla for a dconf sync tool: 710930


Updated answer

With dconf (which you are using), gnome-panel's config can be dumped out with the following command:

dconf dump /org/gnome/gnome-panel/layout > settings.txt

Then you can edit the file (it's plain text file) to contain only the settings you want to sync, and then load the settings from the file as following:

dconf load /org/gnome/gnome-panel/layout < settings.txt

Original answer

I think gconftool should work well. The following command will dump gnome-panels settings (from directory ~/.gconf/apps/panel) to .xml file called backup.xml: gconftool --dump /apps/panel > backup.xml.

Then do the following to load configs from backup.xml: gconftool --load backup.xml.

  • Sorry. I should have mentioned that I'm asking about the classic mode panel. Please see my update. – Thomas Koch Oct 26 '13 at 18:15
  • How can I dump ALL dconf settings and sycn them to another machine? Is it safe to do so? – qed Sep 22 '14 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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