Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use terminal and vim extensively, while writing code. I have created a color palette which is based on readability and easy-use with an autocomplete plugin(obtain plugins from Pydiction : Tab-complete your Python code, Auto Pairs : Insert or delete brackets, parens, quotes in pair. ).

I want to backup these settings so I can reuse them when I have problems with my current installation (12.04, by the way, I plan a clean Ubuntu 12.10 install in October). Are these settings are stored in a config file? Or if they are stored in gconf/dconf, how can I write a shell script to restore it?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

gnome terminal color palette details are stored under directory ~/.gconf/apps/gnome-terminal/profiles/

In Default directory you will be able to see a file named %gconf.xml. This file stores all palette related data. So you can backup all the files under directory ~/.gconf/apps/gnome-terminal/profiles/

To view the configurations: Open gconf-editor using dash and navigate to apps->gnome-terminal->Profiles->Default

For vim configuration backup, just use find or locate command to find .vimrc file and backup it

share|improve this answer
Thanks! I've never known that gconf was filesystem based, I've thought that it was probably a database file somewhere. –  cadadr Oct 11 '12 at 17:47
You are welcome :). Yes you are right. GConf is a simple filesystem based database for storing application preference –  devav2 Oct 11 '12 at 17:52

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.