Hello
Well I don't know the way of life of a GNOME but I can tell You how I do it
with a normal Xterm. There are other wayes too, so if it does not work for
You watch out for other methodes.
Be aware :
the "^" followed by a "[" is a single sign which means
ESCAPE = 27 dez = 0x1b hex
In vi You can get such sign by
press and hold <CTRL> press+release <V> press+release <ESC> release <CTRL>
or anything like that.
To make it easier for You I send this file as an atachement too.
Minde the "^G" as well. (The second one rings the bell)
Here comes my stupid script called chneme :
------------------8<------------------8<------------------8<---------------
#!/bin/sh
#
# Tool to set the Name of a XTerm or AIXTerm
# postum .
# ---------------------------------------------
#
[ "$1" = "-h" -o "$1" = "-help" -o "$1" = "--help" ] && echo "
Tool to set the Name of a XTerm or AIXTerm
usage: $0 [ -u Usename ] New_Terminal_Name" && exit 0
if [ "$1" = "-u" ] ; then
USER=$2
shift 2
for T in `who | grep $USER | awk '{print $2}'` ; do
printf "]0;${1}" > /dev/$T
done
exit 0
fi
printf "]0;${1}"
------------------8<------------------8<------------------8<---------------
On Mon, 31 Jan 2000, Roland Silver wrote:
|Given an existing GNOME window, is there a way to change its title?
|My platform is an i386 running redhat 6.1.
|
|--Roland Silver <[EMAIL PROTECTED]>
|-
|To unsubscribe from this list: send the line "unsubscribe linux-net" in
|the body of a message to [EMAIL PROTECTED]
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hochachtungsvoll und mit freundlichen Gruessen aus dem Dungeon :
xxxxx MATHIAS
X __ \ ____/ ___/ / / ___/ __
X C O-O / / / / / / \ _\||/_
X _\ __/ __/ / / __/ _ ___/ o o
X _@ / / / / / / \ (_)
| | __/ _____/ __/ _____/ _____/ __/ \__ ===
M. Feiler Ro�bergstr.1 72649 Wolfschlugen 0049 (0)7022 560965 (Privat)
[EMAIL PROTECTED] RZ (620) 0049 (0)711/459-3949 (Uni)
PGP public key & Homepage : http://www.uni-hohenheim.de/~feiler
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/sh
#
# Tool to set the Name of a XTerm or AIXTerm
# postum .
# ---------------------------------------------
#
[ "$1" = "-h" -o "$1" = "-help" -o "$1" = "--help" ] && echo "
Tool to set the Name of a XTerm or AIXTerm
usage: $0 [ -u Usename ] New_Terminal_Name" && exit 0
if [ "$1" = "-u" ] ; then
USER=$2
shift 2
for T in `who | grep $USER | awk '{print $2}'` ; do
printf "]0;${1}" > /dev/$T
done
exit 0
fi
printf "]0;${1}"