On Sat, 4 Aug 2001, Mac Reason wrote:

> On Thu, Aug 02, 2001 at 09:21:32AM -0700, Mac Reason wrote:
> I want to customize the title text on genome-terminal windows.
> Can this be done after the window is open?  If not, can I modify
> the window opening process to change the title?
>
> [EMAIL PROTECTED] responded with a .bashrc function - xwtname
> and also suggested that the gnome-terminal command could be
> modified, by adding -T "Window Name" to the command.
>
> The xwtname function gives no error and does not change the
> title.  When the launcher command line is modified, new
> gnome-terminals will not launch.  Both of these suggestions fail
> under RedHat 7.1 and the title continues to show the current
> directory.  Is this a version issue or am I making an error?

Is this what you're looking for?
Below is the source of the default window title.
Modifying it permanently can be done by editing this file too.  Temporary
changes while the Gnome-terminal window is running are explained below.

(excerpt from /etc/bashrc:)

case $TERM in
  xterm*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
    ;;
  *)
    ;;
esac

While in the Gnome-term you can issue a command to change the window
title.

$ export PROMPT_COMMAND='echo -ne "\033]0;phraseandvariables\007"'

Works here for me.  This is independent across multiple windows, so each
can be named after one of the seven dwarves.

-- 
            [   Ryan Camick      Cambridge, Ontario, Canada   ]
            [   Powered by Red Hat Linux 7.1 / Kernel 2.4.7   ]



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to