The older way of doing this, with gconftool-2 doesn’t seem to work anymore in GNOME 3 – used to be something like: gconftool-2 –type string –set /desktop/gnome/background/picture_filename “/full/path/to/file.png”.
However, there is still possible to change the background image, by using the gsettings tool instead. You will need the libglib2.0-bin package, which is probably already installed on your system. To change the background, use a command like the following:
Where you replace $PATH_TO_FILE with the full path to the file, e.g.:
Here’s a small script for automatically changing the wallpaper every 60 seconds (just change the sleep 60 value to another value, in seconds). Although not very elegant, it will do the job (please suggest something better here):
This script will automatically cycle between all the .jpg wallpapers in the directory /usr/share/backgrounds/. Just replace it with another directory if needed.