On Thu, Feb 02, 2006 at 04:21:25PM +0100, Michelle Konzack wrote: > Hello *, > > I have a "DeskTopSize 2x1" and want to have in the first > page a Still-Image and on the second one a Slideshow. > > I have tried > > __( '/home/michelle.konzack/.fvwm/modules/FvwmBacker' )_____________ > / > | *FvwmBacker: Command (Desk 0, Page 0 0) Exec xpmroot > $HOME/wall/1024x768.dgse.xpm > | *FvwmBacker: Command (Desk 0, Page 1 0) Exec tdwallpaperslideshow -d > $HOME/wall/iraq > \____________________________________________________________________ > > but it does not work. The slideshow is in all two Pages. > How to solv this?
I guess the tdwallpaperslideshow runs continually in the
background. It does not know anything about fvwm pages, so it
just overwrites the current background image. And if I'm right, a
new tdwallpaperslideshow is started each time you switch to page
1 0.
Ideally it would be possible to reconfigure FvwmBacker at run
time, a la
# this does *not* work:
FvwmCommand "SendToModule FvwmBacker \
Command (Desk0, Page 1 0) xpmroot some_picture.xpm"
Then you could make a script that informs FvwmBackker every n
seconds of a new image:
#!/bin/sh
while true; do
image=`pick_new_image`
FvwmCommand "SendToModule FvwmBacker \
Command (Desk0, Page 1 0) xpmroot '$image'"
sleep 15
done
But FvwmBacker does not support that yet (anybody is welcome to
code the SendToModule stuff). All I can think of is to kill
FvwmBacker, reconfigure it with the new image and restart it:
#!/bin/sh
while true; do
FvwmCommand "PipeRead backer_restart_script"
sleep 15
done
And in the restart script:
#!/bin/sh
echo KillModule FvwmBacker
echo DestroyModuleConfig FvwmBacker*
echo "*FvwmBacker: Command (Desk 0, Page 0 0) Exec xpmroot
$HOME/wall/1024x768.dgse.xpm"
image=`pick_new_image`
echo "*FvwmBacker: Command (Desk0, Page 1 0) xpmroot '$image'"
echo FvwmBacker
(I did not test any of this).
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt, [EMAIL PROTECTED]
signature.asc
Description: Digital signature
