Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 created a new profile that opened with the fortune program (atp-get install fortune-mod for the download location) and set it as the profile with which to open all new terminals with so that I would get a new fortune when I opened terminal. Unfortunately I didn't know to set "exit terminal when process exits" to something else so that it wouldn't exit out almost immediately. Currently it does exit as soon as fortune exits which is nearly immediately and I need to delete the profile but i cant through the terminal "manage profiles" option because it exits too quickly to even try and open the edit menu let alone delete the profile. I need to know what directory the profile is saved to so that i can delete is manually. I tried to do a system wide search but the results of that search was tons of files and folders and I don't have time to open them all. I appreciate all help i can get. Thanks in advance.

share|improve this question

Profiles for GNOME Terminal are stored in the GConf configuration system. To modify them directly, press Alt+F2 to display the "Run a command" box, enter gconf-editor, and then browse to /apps/gnome-terminal/profiles.

Unchecking /apps/gnome-terminal/profiles/Default/use_custom_command should solve your problem.

An alternative method for getting out of this situation is to override the custom command by specifying another as a command-line argument, e.g. gnome-terminal -x bash, once again in the "Run a command" box.

share|improve this answer
The alternative method ended up being the one that worked. Thank you very much. I'd vote up but I don't have 15 reputation :( – CupricWolf Nov 3 '11 at 4:17
@happydude11209 Glad to hear that it worked. Regarding voting, the correct thing to do is to "accept" this answer by clicking the check mark icon to the left. Everyone can do this for the questions they've asked, regardless of reputation. Accepting an answer helps others who may have the same question in the future, and it rewards the answerer with a little more reputation than just an upvote would. – ændrük Nov 3 '11 at 15:51

You can also run xterm, another terminal emulator that is available in Ubuntu. From there you can run any commands you need.

To make it the default terminal, run:

sudo update-alternatives --config x-terminal-emulator

And change the default to whatever you want.

Another approach to fix Gnome Terminal is to use Nautilus (the file manager) to delete all custom preferences:

  • Navigate to ~/.gconf/apps/gnome-terminal (it's a hidden folder, hit CTRL+H to view)
  • Edit the xml files there, or simply delete the whole gnome-terminal folder
  • Open your Gnome Terminal again, it will be restored with factory settings
share|improve this answer

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.