Title doesn't update when exiting a root shell

Bug #138097 reported by Kieran Hogg
2
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gnome-terminal

Open a new terminal, notice title 'Terminal'.
Enter 'sudo su', notice title changes to 'root@.....'
Enter 'exit', notice title doesn't change back from 'root@....'

Kieran Hogg (xerosis)
Changed in gnome-terminal:
importance: Undecided → Low
Revision history for this message
David Tomaschik (matir) wrote :

Terminal only sets the title as directed by the shell. The root shell probably has a configuration parameter in PROMPT_COMMAND to set this. If your standard user account does not, it will not tell gnome-terminal to change it back. Look at /root/.bashrc for a line with "PROMPT_COMMAND". A similar line in your user .bashrc will allow gnome-terminal to display a proper line as well (or you can remove it from root and avoid it ever changing from "Terminal").

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.