Results 1 to 6 of 6
I would like to change my xterm title by a bash script when putting the title name as the argument of the script.
Can someone send me such script?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-20-2005 #1Just Joined!
- Join Date
- Jul 2005
- Posts
- 6
xterm title
I would like to change my xterm title by a bash script when putting the title name as the argument of the script.
Can someone send me such script?
- 07-20-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Why don't you just use:
or easier:xterm -title "this is a title for xterm"xterm -T "this is a title for xterm"serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 07-20-2005 #3Just Joined!
- Join Date
- Jul 2005
- Posts
- 6
I mean I would like to change the title dynamically. For example, when I open the xterm to write a doc, I would like to mark the title as "writing". After doing that, when I coding in that xterm, I would like to mark it as "coding" or other names.
So, a bash with an argument would be good.
- 06-01-2007 #4Just Joined!
- Join Date
- Jun 2007
- Posts
- 1
I m also having the same trouble here.
xterm -title is also equivalent to xterm -name
but i would like to know if by chance you could change the name/title of the current xterm instead of creating a new xterm
- 06-12-2007 #5Just Joined!
- Join Date
- Dec 2006
- Posts
- 5
Here is the solution:
Ah Lam's Note: Change the title of xterm
- 06-12-2007 #6
I tried putting this inside a shell script, but it didn't affect the contents of $PROMPT_COMMAND outside the script (therefore the xterm title didn't change). How can I rewrite the script to force it to change the xterm title permanently?
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode


Reply With Quote
