How to create rotating wallpapers in Gnome

Few days ago I found artwork suggestions for Fedora 10. I really like the wallpapers in Solar theme. They should change based on the time of the day. As I don’t think that is supported in Gnome, I wrote this little script that does the job.

To run it, a directory with wallpapers needs to be passed.

./rotate-wallpapers /path/to/wallpaper/directory/

If you want it to run in the background, you can press Alt+F2 in Gnome, and run it.

/path/to/rotate-wallpapers /path/to/wallpaper/directory/

Once it’s run, it will count the number of wallpapers in the directory (files ending in jpg, jpeg, gif, png or svg), divide 1440 by that number and use the result as a period of time on which wallpapers will be rotated. It will set the first wallpaper, and sleep until the wallpaper needs to be changed.

So, this script is pretty much specific. It will work best with the series of wallpapers that have subtle changes, such as the Solar wallpapers. But, you’re free to use it in every way you want. Good luck :)…

If you find any bugs, please post it in the comments. Thanks.

Tags: , , , , , ,

Wallpaper clock screenlet

screenshot.pngI’m a regular visitor of VladStudio’s website, run by Vlad Gerasimov, a digital artist. It is a spot to find a lot of beautiful wallpapers. Recently, he began making wallpaper clocks - dynamic wallpapers that show date, hour, minute and stuff… I liked the idea, but I wasn’t able to use them on my system, as there was a Windows-only program for it.

I checked out his site last night and was surprised when I saw that there is a Wallpaper clock screenlet for Linux :) (download).

This screenlet requires Screenlets software to be installed. Once that is done, the screenlet needs to be unpacked to ~/.screenlets/ directory, or /usr/local/share/screenlets/ (this way it will be accessible to every user on the system). New wallpaper clocks are added by unpacking .wcz archive to ~/.screenlets/WallpaperClock/wallpapers/, or /usr/local/share/screenlets/WallpaperClock/wallpapers/ (depending on the place where the screenlet is located).

Well, I hope this will be useful :). Enjoy…

Edit: This screenlet depends on python-imaging package.

Tags: , , , , ,