[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting xterm title with -T doesn't work




I don't have the problem, presumably because the following appears in /etc/bash.bashrc:

# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#case "$TERM" in
#xterm*|rxvt*)
#    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
#    ;;
#*)
#    ;;
#esac

Perhaps something similar would take care of the OP's problem.

Patrick

Well, you may be right that the PROMPT_COMMAND is set in .bashrc (I'm at work now so I cannot confirm that) but I found out that I can control the title with xtermcontrol which works :).

Reply to: