Re: FVWM: question

From: SAMUEL TENON <stenon_at_info-ufr.univ-montp2.fr>
Date: Wed, 7 Nov 2001 16:54:28 +0100

On Tue, 6 Nov 2001, SAMUEL TENON wrote:

> Hello i'm working on fvwm2 but i don't know how to change background ...
> In fact i would like to know whether it's possible to have Jpeg image on
> my desk

There are 2 possibilities:

1. You set the background image in your .xsession script

add a line like 'xv -root -quit -viewonly picture.jpg'

This requires that you log in in such a way that your .xsession file i
executed (Xession in Gnome's login manager f.ex.)
Then you will also have to start the WM in this script (should be the last
thing started, WITHOUT &... like 'exec fvwm2'
Remember .xsession must have 'x' permission flag set...

2. Using FvwmBacker module

You can also use the background module to get different backgrounds on
different desks (and pages)

Then you will have to start this module from your .fvwm2rc
like so:

AddToFunc InitFunction "I" Module FvwmButtons
+ "I" Module FvwmBacker

AddToFunc RestartFunction "I" Module FvwmButtons
+ "I" Module FvwmBacker

(I think it would work with just one function called 'StartFunction'
here...)

And later in your .fvwm2rc specify what FvwmBacker should do:

F.ex. I have like this (to set different images for each desk (0,1,2,3 I
have as symlinks so it's easy to change them...)
It's also possible to specify individual pages here (use 'man FvwmBacker'
for more info..)

*FvwmBacker: Command (Desk 0) Exec xv -root -quit -viewonly -rbg red
+noresetroot $HOME/.fvwm/backdrops/0
*FvwmBacker: Command (Desk 1) Exec xv -root -quit -viewonly -rbg red
+noresetroot $HOME/.fvwm/backdrops/1
*FvwmBacker: Command (Desk 2) Exec xv -root -quit -viewonly -rbg red
+noresetroot $HOME/.fvwm/backdrops/2
*FvwmBacker: Command (Desk 3) Exec xv -root -quit -viewonly -rbg red
+noresetroot $HOME/.fvwm/backdrops/3


//Marcus

>
> Please help me
> Thanks :)
>
> --
> 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.
>
--
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 Wed Nov 07 2001 - 09:56:20 GMT

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