* Tony Vance [Fri,  6 Feb 2004 at 16:20 -0700]
> Hi everyone,
> 
> I got a cool python script from my professor that goes to NASA's 
> astronomy picture of the day, downloads it, and then uses ImageMagick to 
> resize it and composite it with a black background.   Very cool.  I've 
> attached it for those who are interested.
> 
> However, my Gnome desktop won't reread the desktop back file 
> automatically, so I  have to manually select the new image again for the 
> new image file to be displayed.  Is there a way in Gnome or KDE to 
> automatically reread the desktop background file when it is changed?
> 
> Best,
> 
> Tony

This may or may not work for gnome, but it works for icewm and other small
wm's, I just added this line to the end of the script

os.system('xli -onroot ' + FINAL_FILE)

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to