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 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

5 Answers 5

up vote 23 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

As per haziz, those configuration files are stored in the home directory and they are applicable to your user account only. The global settings for all other users(and now users) are stored in your /etc/bash.bashrc.

Does anyone know how to open a file from withing the CLI. EG: how to edit these files from the terminal.


share|improve this answer

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 http://askubuntu.com/a/91409/79266

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.