Differences between version 11 and predecessor to the previous major change of XtermNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 11 | Last edited on Monday, October 1, 2007 7:15:32 am | by CraigBox | Revert |
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]0This is a title\007"</tt>
+
+The number after the ] can be 0, 1 or 2:
+
+<tt>\033]0TITLE\007</tt>
+ Set both the icon name and window title to TITLE
+<tt>\033]1TITLE\007</tt>
+ Set just the icon name to TITLE
+<tt>\033]2TITLE\007</tt>
+ Set just the window title to TITLE
+
+Check your .bashrc to see that the PROMPT_COMMAND variable isn't set to overwrite your newly set window title every time it displays a prompt.
!!! The full nitty-gritty
See xterm(1).