PDA

View Full Version : [gnome] Gnome-terminal title in window resets to default in window-list-panel



frederik.heremans
November 5th, 2009, 09:02 AM
Since I upgraded to 9.10 (3 days ago), there is a problem with my gnome-terminal. I've searched google for other people experiencing this issue, but haven't found any relevant matches yet...

The problem:

- I open 2 gnome-terminals, one for running Maven an another tailing my JBoss-log.
- I set the title of each terminal to keep them apart (using Alt + T, S)
- Titles show up in the window-list as they should.
- When I run a command in the terminal, the title in the window-list-panel resets to the default but the title on the gnome-terminal window itself remains unchanged


Running 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux + The GNOME Panel 2.28.0

frederik.heremans
November 5th, 2009, 04:48 PM
Can someone running 9.10 try setting gnome-terminal title and run any command in it, and watch the window-list-panel?

thanks ;)

chrisgnow
November 30th, 2009, 10:18 PM
I have also experienced the very same problem. If you find a solution outside this forum I would appreciate it if you would post the answer here.

emil0r
January 6th, 2010, 02:38 PM
A sort of (ish) solution:
Commenting out the following in your .bashrc file in your home directory:


case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}:${PWD/$HOME~}\007"'
;;
*)
;;
esac


removes the part where it helpfully sets where you currently are at. This also means it doesn't remove your own title you set in order to see what the hell you're doing with 10+ different terminals up at once.

Not sure if it's this that's responsible for the change or if it's something else.

&)ky#)^
February 8th, 2010, 12:38 PM
I, too, am suffering from this problem. I don't mind it so much on terminals themselves, but it causes quite an annoyance in gedit. I'm using the embedded terminal plugin from the gedit-plugins package which essentially runs a gnome-terminal inside of gedit. This window pane bug in gnome-terminal/bashrc causes the title of the gedit window to change to "username@machine: ~" in the window list. That's not so good if you want to look at the window list to see what text file you have open. :(

cjminton
February 10th, 2010, 08:51 AM
I've been searching for like an hour on how to make it to where when I run a program in the terminal it just uses that for the title.

So like when I run mutt from a terminal the title of it changes to mutt. Can someone show me the PROMPT_COMMAND line for that? I'll paypal you a dollar if you want.(lol, lets see how fast I can get a reply now)

Thanks.