Discussion Locked

change the Title

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi all
i want to ask a basic Q , when i chose the Tirminal Console and when the window opend the title i want to be another name,pls help
regards
ghasan

5 replies

by rajashakert

1/Save the following script in a file and give execute permissions and execute the

Ex: save the following script as file name "chtitle" and change permissions to 555
(chmod 555 chtitle)

then to change the window title type
chtitle namescript
---------------------------------------------
if [ ! "$1" ]
then
# echo 'Argument(s) expected'
exit 1
fi
echo $*
echo "\033]0;$*\007"
---------------------------------------------

by cavedweller

Most X applications accept -title and -name parameters. One changes the window label, the other the icon label. Check the man page for the application you want to rename for full details.

On some systems "xterm -C -title 'Window_Title' -name 'Window_Name'&" will do the trick.

This discussion is closed to new replies.