Re: FVWM: CLIENT_MACHINE for Style attributes?

From: Michael Han <mikehan_at_best.com>
Date: Sun, 13 Jun 1999 09:32:13 -0700

Previously...
>Is it possible to use a window's CLIENT_MACHINE for Style attributes.
>I often have shells opened up on several different hosts, all with their
>DISPLAY set to my local machine. It would be great to be able to use
>the StartsOn[Desk|Page] property to constrain the windows from those
>hosts to certain desktops. This is especially true when I am running
>the same app on the different hosts and thus the windows all have the
>same NAME, CLASS and RESOURCE strings.

This kind of enhancemant has considered in the past. I don't remember
what came of the conversation last time.

In the meantime, I take it that the window title get set by the app
you run, e.g. VIM sets the xterm title to "VIM -- /path/to/file". This
is what you mean? Why not just open these xterms with the -t flag as
in

xterm -lservis -title foohost -e [rlogin/ssh] foohost

and style match the arbitrary string you set? This is what I do from
home using the following bits from my .fvwm2rc:

+ "Shell&7%mini.xterm.xpm%" \
  Exec exec xterm -fn \
  '-b&h-lucidatypewriter-medium-r-normal-sans-17-*-100-100-*' \
  -title Shell7 -geometry 80x40 \
  -e ssh -l mikehan shell7.ba

Style "Shell7" UseStyle Netscape, Icon penguin.xpm, StartsOnPage 0 1 1

The Style line matches the title when the window got mapped. What
happens after that, FVWM could care less (unless you do a recapture).
-- 
mikehan_at_best.com
"Bewitched" does not promote Satanism
 - The collected wisdom of Bart Simpson
--
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 Sun Jun 13 1999 - 11:33:51 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST