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?
posted by Jimbob to Computers & Internet (6 answers total) 3 users marked this as a favorite
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?