Ubuntu – Gnome-Terminal profiles stored in the filesystem

gnome-terminal

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.

Best Answer

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.