Changing gnome wallpaper
September 26, 2006 3:18 AM
Subscribe
Linux / Ubuntu / Gnome question - how do I tell Gnome "Hey, the jpg you're using as desktop wallpaper has been updated with a new image. Go reload it and display the new version?" in a Python or Bash script?
I've written a little Python script that runs once a day, and downloads the NASA Astronomy Image Of The Day, and saves it to a local file. Gnome is set up to use this file as my desktop wallpaper. The problem is, while the script downloads the new image every day, Gnome never checks the file to see if it's changed, so my wallpaper remains the same unless I restart the computer, or manually change the wallpaper on the Gnome desktop.
How can I automatically tell Gnome to "reload" the wallpaper jpg?
posted by Jimbob to computers & internet (6 comments total)
3 users marked this as a favorite
gconftool-2 -t string -s /desktop/gnome/background/picture_filename image_filename
work?
posted by blenderfish at 3:24 AM on September 26, 2006