[ale] Chaneg desktop background

Christopher Fowler cfowler at outpostsentinel.com
Thu Oct 12 14:23:09 EDT 2006


On Thu, 2006-10-12 at 11:55 -0600, JK wrote:
> Christopher Fowler wrote:
> > On FC3 and greater is there a way I can change my desktop background via
> > the command line?  I want to write a perl program that can go out and
> > grab a photo from the web and make that my wall paper.  I will porgram
> > it to go fetch every 30 minutes.
> 
> A particular photo, or just any old one?  If the latter, just
> enable the webcollage screensaver.  (Though as I recently learned,
> webcollage is not at all picky about what photos it picks, so
> don't enable it in a business environment!)
> 

I'm just fetching photos from web cameras in the GSM NP.   I found out
that if you do not set the background value to something different than
Gnome does not register a change.
system "/usr/bin/gconftool-2 -
s /desktop/gnome/background/picture_filename -t string /dev/null";
system "/usr/bin/gconftool-2 -
s /desktop/gnome/background/picture_filename -t string
$opt_r/wallpaper.jpg";

> -- JK
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list