[desktop-discuss] desktop background with compiz fusion
Darren Kenny
Darren.Kenny at Sun.COM
Wed Apr 2 08:50:15 PDT 2008
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
More information about the desktop-discuss
mailing list