Re: FVWM: changing the desktop background

From: Steve Talley <stephen.talley_at_sun.com>
Date: Thu, 10 Oct 2002 10:35:10 -0600

Rick Jones wrote:

> I know this must be a *VERY* simple thing to do with fvwm but I
> haven't seemed to find anything saying how to set the "desktop" to a
> specific color.

I use a program called xvirtualroot (attached). All it does is
display an image or color in a full-sized window. Any mouse clicks on
the xvirtualroot window get passed to the root window underneath (so
fvwm mappings on the root window work).

Then in my .fvwm2rc, I have:

Style XVirtualRoot CirculateSkip, StaysOnBottom, NeverFocus, NoTitle, NoHandles, WindowListSkip, BorderWidth 0, StartsLowered

Since I have three desktops, I start three xvirtualroot windows (one
on each desktop, with different background images) at startup.

xvirtualroot also supports the __SWM_VROOT window property, which some
window managers use to designate the "virtual" root window.
Subsequently programs which support this property (like xv) can draw
to this window. For example, running "xv --root ..." will result in
xv drawing to the xvirtualroot window instead of the actual X root
window.

    Usage: xvirtualroot [-display <display>] [-w] -f <file> [-bg <color>]
        xvirtualroot [-display <display>] [-w] -bg <color>
        xvirtualroot --help
        xvirtualroot --version

    Options:

    -f <file> Specify the image file to display. Use
                        "-" to read from STDIN.

    -bg <color> Set the background color of the window.

    -w Print the X window ID of the xvirtualroot window.
                        Useful when using another program to draw
                        in the xvirtualroot window.

    -display <display> Specify the X server to contact.

    --help Print this message and exit.

    --version Print version information and exit.

Steve



--
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 Oct 10 2002 - 11:36:35 BST

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