Ubuntu/GNOME 3 random wallpaper script

By Dmitry Kann 1 min read This post in Russian 0122

This bash script picks up a random image file (.jpg, .jpeg or .png) from the predefined directory and sets it as wallpaper.

The previous version of the script worked fine with GNOME 2 and Ubuntu 11.04 (and earlier), but after GConf backend was changed to dconf in GNOME 3, it stopped working.

The new version works with both GNOME 3 and Ubuntu 11.10 Oneiric Ocelot.

The only thing to setup in the below script is the path to image files in dir_wallpapers.

Source code

You can download the latest version on script page on my website. ■

See also

Post image
Ubuntu/GNOME 3 XML wallpaper creation
Post image
Gnome/Unity random wallpaper script
Post image
Watermarking pictures for Picasa Web Albums
Post image
My scripts on GitHub
Post image
Sound Switcher Indicator ‣ Sound Switcher Indicator for Ubuntu
Post image
Touchpad toggle script for Ubuntu

Comments

Share