GNOME Bugzilla – Bug 311411
Terminal name can't be statically changed
Last modified: 2006-01-12 16:13:50 UTC
The gnome-terminal supports multiple terminal in one X window (with so called tabs). I like to give each terminal an unique name so that I what is running in there or what user owns it. Currently the name must be set globally (with gconf) or it is rapidly changed by the application running in the terminal. In the first case I was not allowed to change the name manually and in the second one, my custom set name will be overwritten by the running application soon. Let the user change the tab name and protect this name from change trough the application. Other information:
You can set the key apps/gnome-terminal/profiles/<profile_name>/title_mode to "ignore" if an application shouldn't change the terminal title. Settings also include "after" and "before" to get the app name resp. before or after your custom title. You can create different profiles & select a profile per tab, however I don't know if it's possible to quickly change a tab title.
Yes, I know. The problem is: If I set the title_mode to ignore, I can't change the title with the menu "Terminal/Set Title" anymore. You will get the entry field, but nothing changed. If I set title_mode to "replace", I can set the title with the mentioned menu but the next keystroke will reset the title to the default. I would like to have title_mode set to "ignore" and still be able to change the title on the fly through the menu. The "title" property in gconf could be used as default title, as starting point. Your suggestion with the profile per tab isn't very convenient because I need a new profile for each terminal I open and furthermore must change the title with gconf instead of using the already existing menu entry.
Another thought: The other "title_mode"s write the "title" in stone. The "title" as defined in gconf is a rather useless information because it contains mostly the profile name. So you have two parts in the title: A stone part (title property) and an fluid one (which the user and all applications could change). I think a better way to handle this is that the user can change the first part (in gconf or with the menu) and the second part is changed by the application. The title_modes slightly change their meaning with this: ignore - only user part is shown before/after - application part is shown before/after user's part replace - only application part is shown
*** This bug has been marked as a duplicate of 161144 ***