You probably have something setting it already. What is your PS1 variable?
Some people set that as part of their prompt.
looks something like:
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]>\[\e[0m\] "
-Lkb
On Thu, 4 Oct 2001, [iso-8859-1] daniel j shahin wrote:
> no it switches to $username@$host $PWD, which is pretty useful anyway...
> but it would be fun to switch it up now and again...
> d$
> > hm... that's strange, what version of gnome are you running? It just
> > switches back to 'Terminal'?
> >
> > -Lkb
> >
> > On Thu, 4 Oct 2001, [iso-8859-1] daniel j shahin wrote:
> >
> >> it only seems to work for a split second and then gnome (or something)
> >> resets it. What am I doing wrong?
> >>
> >> d$
> >>
> >> > works for gnome-terminal too. lots of you probably know this, but i
> >> > just figured it out today. in your .bash_profile or .bashrc or
> >> > whatever:
> >> >
> >> > title() {
> >> > printf "\033]0;$*\007"
> >> > }
> >> >
> >> > then just use the command 'title newtitle' and your xterm or
> >> > gnome-terminal window title will change to newtitle.
> >> >
> >> > or if you don't run bash, you could just create a script called
> >> > title, and put it in your path:
> >> >
> >> > --title.sh
> >> > #!/bin/sh
> >> > printf "\033]0;$*\007"
> >> >
> >> > --title.sh
> >> >
> >> >
> >> > -Lkb
>
>
>
>