Re: FVWM: How do I change the title of windows once they are created?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 26 Apr 2001 16:27:17 -0500

On 26 Apr 2001 13:12:33 -0400, Dan Espen wrote:
>
> You can control the title during creation with:
>
> xterm -title abc
>
> You can change the title afterwards with the escape sequence:
> ^[]2;title\07
>
> I see you use tcsh, so this might not help, but this is how its done
> with ksh:
>
> function shdr { # changes screen title
> if [ "$TERM" = "xterm" ] ; then # This makes Rumba hang, only use on xterm
> print -n '\033]2;'$*'\07'
> fi
> }

In csh/tcsh it may be done using this alias (put it into .cshrc):

  alias set_xtitle 'printf "\033]2;\!*\007"'

A check "if ($?DISPLAY)" may be used as well if needed.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Apr 26 2001 - 16:28:05 BST

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