Re: FVWM: Title bar title changing

From: Emilio Lopes <ecl_at_fnpc21.if.usp.br>
Date: Fri, 24 May 96 21:49 EST

>>>>> "kdicke" == Ken Dickerson <kdicke_at_atl.com> wrote:

kdicke> I am new to this list, so forgive me if this question has been
kdicke> asked and/or beaten to death. I have newly started using
kdicke> fvwm. One of the things I was doing when I was in Motif, was
kdicke> to use the Xterm Control Sequences to change the icon name and
kdicke> window title. I would like to continue doing that in fvwm, but
kdicke> have found that the same sequences do not affect the title. Is
kdicke> there any simple way I can change the title via a script or
kdicke> alias? I need to change it frequently. Are there different
kdicke> sequences used for fvwm that I can get a hold of?

Hi,

as far as I know, the xterm control sequences do not change just
because you change your window manager.

Here is something from my "~/.bashrc". It puts a useful title in the
xterm window bar.

############################################################
if [ -z "$HOST" ]; then
    export HOST=`hostname`
fi

# The string between quotes is used to put the CWD
# in the Xterm title bar. -- ECL
if [ "$TERM" = "xterm" ]; then
    PROMPT_COMMAND='echo -en "\033]2;Xterm - ${LOGNAME}_at_${HOST}:${PWD}\007"'
fi
############################################################


Have fun.

Emilio.

-- 
 Emilio C. Lopes <mailto:ecl_at_if.usp.br>
 FINPE, Instituto de Fisica      E-mail: ecl_at_if.usp.br
 Universidade de Sao Paulo       Phone : (+55 11) 818-6724 (Voice)
 Caixa Postal 66318                      (+55 11) 818-6715 (Fax)
 05389-970  Sao Paulo - SP
 BRAZIL
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri May 24 1996 - 20:36:17 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST