www.LinuxHowtos.org


setting xterm title

To set a xterm title (or any compatible x-shell app)
run:
echo -ne "\033]0;string\007 -- to set icon name and window title to string
echo -ne "\033]1;string\007 -- to set icon name to string
echo -ne "\033]2;string\007 -- to set window title to stringback