User Tools

Site Tools


wiki:set_tab_title_xfce4_terminal

Set tab title in xfce4-terminal

Hosts you are connecting to should have this in their .bashrc

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac

Tested on

  • xfce4
  • gnome-terminal

See also

References

wiki/set_tab_title_xfce4_terminal.txt · Last modified: 2021/06/29 14:47 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki