Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

i updated my ubuntu but it crashed during installation and i was not able to recover it (my hard drive crashed). i changed my hard drive and re-install ubuntu

i saved all my important docs (bookmark, documents etc...)

1 thing i was unable to recover is the profile from my shell (i changed the color scheme, title, number of lines scrollback etc...)

where can i save this so next time something happen i won't have to set all over again my terminal settings?

share|improve this question
up vote 28 down vote accepted

GNOME Terminal profiles are stored in: ~/.gconf/apps/gnome-terminal/profiles.

(You might want to back up the whole .gconf directory, though.)

share|improve this answer
thank you very much – aki Nov 29 '11 at 13:44

Newer gnome-terminal (3.8+ I think) stores its config in dconf instead gconf.

gsettings list-recursively | grep -i org.gnome.Terminal

More info about the change

share|improve this answer

In case someone lands here looking for a way to change the terminal settings from console (eg for vagrant provisions), the gconftool-2 command can be used. For example:

gconftool-2 --set /apps/gnome-terminal/profiles/Default/background_darkness --type=float 0.50

You can get the relevant setting keys from the ~/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml file.

share|improve this answer

I don't think this will change the gnome terminal background color etc. but it will edit BASH's behavior. The BASH config files for the individual user are stored in the .bashrc file in your home directory. Note that since it is a dot file it is hidden by default. Use ls -a from the terminal to see the file or invoke view hidden files in nautilus to reveal it. There is also a .profile file but it is often easier to keep all your edits in .bashrc.

Now learning how to config BASH (or other shell) is a whole other topic.

share|improve this answer

If you have a separate /home partition and if u don't format it while installing Ubuntu, all your user settings will remain intact (since all user settings will be stored in /home partition). Its always advisable to create multiple partitions (one independent partition for / so that while reinstall only that partition can be formatted)

share|improve this answer
another partition on the same drive will not change anything correct? – aki Nov 29 '11 at 13:23
You don't need a separate partition to do this, the installer defaults to saving data in /home. – Jorge Castro Nov 29 '11 at 13:42

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.