Currently /etc/skel/.bashrc has: # Change the window title of X terminals case $TERM in xterm*|rxvt*|Eterm) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' ;; screen) PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"' ;; esac aterm and kterm could be added to the list. Also, from 2.14 gnome-terminal will set TERM="gnome" (currently "xterm"). (dang has confirmed this.) To be ready for this change, gnome will need to be added to the list. I attach a patch (to app-shells/bash/files/dot-bashrc).
Created attachment 79524 [details, diff] bash-dot-bashrc-xterm-title-gnome.patch
> aterm and kterm could be added to the list. done > Also, from 2.14 gnome-terminal will set TERM="gnome" (currently "xterm"). i know, i gave them the patch to fix that :p