After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 363603 - "Dynamically-set title:" doesn't work
"Dynamically-set title:" doesn't work
Status: RESOLVED INCOMPLETE
Product: gnome-terminal
Classification: Core
Component: general
2.16.x
Other opensolaris
: Normal trivial
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-20 08:38 UTC by Patrick
Modified: 2008-01-09 20:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Patrick 2006-10-20 08:38:22 UTC
Opensolaris build 51(vermillion), gnome 2.16

Steps:
1. Select menu "Edit"->"Current Profile..."
2. Click "Title and Command" Tab
3. Set "Dynamically-set title:" to "Replaces initial title"

Actual results:
After setting, the title is not changed according to command. It's "Terminal" all the time.
Comment 1 Mariano Suárez-Alvarez 2006-10-23 04:08:06 UTC
It does not change accoring to what command?

Comment 2 Patrick 2006-10-26 07:53:08 UTC
All command, 'Terminal' title doesn't change whatever I input any coomand in terminal.
Comment 3 Mariano Suárez-Alvarez 2006-10-26 07:58:39 UTC
Well, if you want it to change you have to change it or have some command change it. Not every command will do that...

For example, if you are using bash, 

PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'

and that will make bash set the title to useful things.

Does this change your title?

Comment 4 Mariano Suárez-Alvarez 2007-01-28 04:36:00 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 5 Brian Murray 2008-01-09 20:14:44 UTC
I've encountered a possibly related bug using gnome-terminal version 2.18.2-1ubuntu1 on Ubuntu.

When I ssh to a remote system the Title is dynamically set to "brian@remotesystem:~".  However, when I leave that ssh session the Title does not change "brian@localsystem:~".  This has lead to some confusion when I am trying to find specific gnome-terminal windows.  Is exiting an ssh session one of the commands that will change the Title?  If not could it be?
Comment 6 Behdad Esfahbod 2008-01-09 20:16:59 UTC
May have something to do with your remote $TERM setting, instructing your shell to not try to set title, or basically to your system's bashrc not having the code for title setting at all.