Re: FVWM: multiple sessions - xscreensaver

From: Uwe Pross <keinFruehstuecksfleisch_at_gmx.net>
Date: Thu, 24 Mar 2005 13:20:48 +0100

Hi there,

On 23 Mar 2005 at 21:59:12 -0800, Tim Hanson wrote:

> I am a vnc user and have all remote sessions run FVWM. I have
> controlled xscreensaver from .fvwm2rc since I started using FVWM years
> ago.
>
> Now, xscreensaver loads (inappropriately) in every vnc session. How do
> I make FVWM start xscreensaver only on screen :0?

You could use xdpyinfo to determine the actual screen, e.g:

xdpyinfo | sed '2,$d' | grep ':0.0' >& /dev/null && \
        xscreensaver

This could be done in an external script or in an fvwm-Exec
call.

Cheers, Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise your mail is discarded by a filter.
=-"-"-= http://www.tu-chemnitz.de/~uwp
--
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 Mar 24 2005 - 06:21:31 GMT

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