Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-04-28 10:04:37

silviu
Member
Registered: 2013-04-28
Posts: 2

[Solved] Terminal tab name

For some reason when I'm connecting to debian machines my tab isn't updated anymore. It is possible to be related to the PS variable on the remote server, but it is also happening in case of a clean installation.

Thanks

Offline

#2 2013-05-01 07:53:57

silviu
Member
Registered: 2013-04-28
Posts: 2

Re: [Solved] Terminal tab name

The problem was related to the $PROMPT_COMMAND variable. The following case needs to be uncommented in /etc/bash.bashrc

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

Offline

Board footer

Powered by FluxBB