Penguin

Differences between current version and predecessor to the previous major change of XtermNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 12 Last edited on Monday, October 1, 2007 11:27:12 am by AristotlePagaltzis
Older page: version 10 Last edited on Thursday, June 23, 2005 6:13:24 am by AristotlePagaltzis Revert
@@ -41,8 +41,23 @@
 <tt>-fa "bitstream vera sans mono" -fs 8</tt>: 
  use AntiAliasedFonts! 
  
 All of these can also be put into your <tt>.Xresources</tt> so that they will be permanently active without having to pass all these parameters to xterm every time. 
+  
+!!! Setting the window title  
+  
+<tt>echo -ne "__\033]0__''This is a title''__\007__"</tt>  
+  
+The number after the ] can be 0, 1 or 2:  
+  
+<tt>__\033]0__''title''__\007__</tt>  
+ Set both the icon name and window title  
+<tt>__\033]1__''title''__\007__</tt>  
+ Set just the icon name  
+<tt>__\033]2__''title''__\007__</tt>  
+ Set just the window title  
+  
+Check your <tt>.bashrc</tt> to see that the <tt>PROMPT_COMMAND</tt> EnvironmentVariable isn't set to overwrite your newly set window title every time it displays a prompt.  
  
 !!! The full nitty-gritty 
  
 See xterm(1).