Changing terminal title through escape sequences

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Thu May 3 13:43:57 UTC 2007


Ben Edwards wrote:
> Been looking around and the below should work but it does not;(
> 
> echo -ne "\033]1;Hello World\007"
> 
> Any idea why/how to make it work?

That string sets the icon. You want 0 or 2 instead of 1

<http://www.faqs.org/docs/Linux-mini/Xterm-Title.html#ss3.1>

Cheers, Dave




More information about the ubuntu-users mailing list