change the Title
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
Linux
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
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 ghassans
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.
by ghassans
by ghassans
This discussion is closed to new replies.
Sort by Trending