Title of MATE Terminal window does not change back after closing ssh session
Bug #887693 reported by
Sander-oele
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-terminal (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I recently switched from Ubuntu to Linux Mint 11 on my desktop.
In Ubuntu, closing an SSH session would change the window title of gnome-terminal back to the "user@host" value of the local machine.
In Mint, this doesn't happen by default. This means that if i connect to some remote Ubuntu server and disconnect, the title of the window stays on "remote-
Please change this! :)
Putting this line in ~/.bashrc seems to solve it:
PS1='${
Changed in linuxmint: | |
status: | New → Confirmed |
affects: | linuxmint → mate-terminal (Ubuntu) |
Changed in mate-terminal (Ubuntu): | |
status: | Confirmed → Incomplete |
tags: | added: mint-mate |
To post a comment you must log in.
Correction: the code that fixes the problem (taken from an ubuntu .bashrc) is:
# If this is an xterm set the title to user@host:dir COMMAND= 'echo -ne "\033]0; ${USER} @${HOSTNAME} : ${PWD/$ HOME/~} \007"'
case "$TERM" in
xterm*|rxvt*)
PROMPT_
;;
*)
;;
esac