[Intrepid] gnome-terminal --title ignored

Bug #293364 reported by Andrew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

The --title does not seem to do anything

Example

gnome-terminal --title=Testing

This opens a window with the title (username@computername: ~)

Revision history for this message
Andrew (andrew-rw-robinson) wrote :

Version is 2.24.1-0ubuntu1

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for the report, what do you have in "Title and Command -> When terminal commans set their own titles"?

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Andrew (andrew-rw-robinson) wrote :

Looks like changing the default profile to set to "Keep initial title" does the trick. I incorrectly assumed that the command-line option of --title would alway take precedence.

Changed in gnome-terminal:
status: Incomplete → Invalid
Revision history for this message
Andrew (andrew-rw-robinson) wrote :

Looks like I have to re-open this. Now, when I set the profile to "Keep initial title" and then try to change the title using "Terminal>Set Title...", the correct title is in the dialog, but the title of the window/tab is the initial title. So it appears that not even gnome-terminal can change the title with that setting.

What I am desiring:
Open several tabs with different working directories (my typical development environment) and name them according to the work I will do in them, but for other terminals, to be able to change the title using the set title.

It seems as if there is a one-or-the-other philosophy here. I would expect that starting a term with "--title" or using the "Set Title" menu item always overrides the title (aka bash shouldn't change the title). If no --title was given or if "Set Title" is never called, it should use the default title of the program (username@computername: ~)

Any ideas on how to get that to work without having to make different profiles and get them to work?

PS - konsole does this fine. I am trying to switch to gnome-terminal since I am using gnome at the moment and gnome-terminal fonts look better than konsole for some reason (kde3 version was better)

Changed in gnome-terminal:
status: Invalid → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

well that's the right behavior, if you launch gnome-terminal with --title something that would be the initial title since it's launched with that argument which it's the right behavior, now if you after launched gnome-terminal by clicking on the icon you execute the command without the --title argument which means the initial title of the terminal would be "Terminal" and you cannot change it because you choosed to keep the initial title for it, that's not a bug, closing this report, thanks again.

Changed in gnome-terminal:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.