Re: FVWM: Re: .fvwmrc files and multiheaded displays

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Fri, 21 May 1999 15:49:57 -0400

Brand Hilton <bhilton_at_adc.com> writes:
> Many thanks to Dan for putting me on the right path to solve my
> problem. I thought I'd share what I ended up doing in case someone
> else might benefit from it.
>
> The key problem is that I need to do different things based on the
> value of the DISPLAY environment variable. Dan suggested FvwmM4 and
> FvwmCpp. Either of these would have worked great, if only FVWM passed
> the value of DISPLAY down to them. Unfortunately, it doesn't.
> (Consider this a request for feature, if you wish :-)

I don't use M4 or CPP, but I think this would work:

fvwm2 -cmd "FvwmCpp -DDISPLAY=$DISPLAY .fvwm2rc"

Maybe we need some more man page examples.

> Dan also mentioned PipeRead, which turned out to be the best thing. I
> just wrote a shell script that spits different things to standard
> output based on the value of DISPLAY. Here it is, in case anyone's
> interested:
...

Yep, PipeRead is pretty cool.

> What this does is, on my main monitor (:0.1), fvwm starts up two
> xterms. The button bar is in the lower left corner and has five
> buttons: xterm, xperfmon, xbiff, mutt, and pager. On the auxiliary
> monitor (:0.0), the button bar is in the lower right corner and has
> only two buttons: xterm and pager.
>
> That's about it. Thanks again, Dan, for the help.

Thanks.

> |/// | Brand Hilton bhilton_at_adc.com

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Fri May 21 1999 - 14:51:34 BST

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