Funnily enough, just did that too ;) Attached...
Thanks, Darren. Sebastien Roy wrote: > 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 > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org -------------- next part -------------- A non-text attachment was scrubbed... Name: run_xplanet.sh Type: application/x-shellscript Size: 363 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080402/4d1de81e/attachment.bin>
