Darren Kenny wrote:
> A quick look at xplanet and I can see the -output param - you could use that 
> to
> render to a PNG and then use the "-post" option to run a script to update the
> background...
> 
> Maybe .. :)

Yes, this works.  It's a hack, but it works!  I wrote a little script to 
wrap this up:

IMAGEFILE=/export/home/seb/Pictures/planet.png
GCONFKEY=/desktop/gnome/background/picture_filename
POSTCMD="gconftool-2 -s -t string $GCONFKEY $IMAGEFILE"
/usr/local/bin/xplanet -projection rectangular -config overlay_clouds 
-output $IMAGEFILE  -geometry 1920x1200 -post "$POSTCMD"

I'm not sure what nasty performance implications there are to be calling 
gconftool-2 to set the background like this, but since it only happens 
every few minutes, maybe it's not a big deal.

Thanks for the hints!
-Seb

Reply via email to