Rotating Gnome backgrounds
You have a bunch of nice wallpaper images that you would like to see on your Desktop. You want Gnome to rotate them in a circular way. Also, specify the duration of an image and the transition between two images.
You need to create an XML file similar to this:
<?xml version='1.0'?> <background> <starttime> <hour>00</hour> <minute>00</minute> <second>01</second> </starttime> <static> <duration>10.0</duration> <file>/trash/wallpapers/A.jpg</file> </static> <transition> <duration>5.0</duration> <from>/trash/wallpapers/A.jpg</from> <to>/trash/wallpapers/B.jpg</to> </transition> <static> <duration>10.0</duration> <file>/trash/wallpapers/B.jpg</file> </static> <transition> <duration>5.0</duration> <from>/trash/wallpapers/B.jpg</from> <to>/trash/wallpapers/C.jpg</to> </transition> <static> <duration>10.0</duration> <file>/trash/wallpapers/C.jpg</file> </static> <transition> <duration>5.0</duration> <from>/trash/wallpapers/C.jpg</from> <to>/trash/wallpapers/A.jpg</to> </transition> </background>
Here, I rotate three images. One image is shown for 10 seconds and the transition is done smoothly in 5 seconds. After the third image, the first image is shown again, i.e. Gnome will restart processing the file from the beginning.
Usage: You will have to specify this XML file as your background. Right click on the Desktop, Change Desktop Background, Background tab, Add… button. In the bottom right hand corner, switch from Images to All files, then select the XML file. See this screenshot.
Note: Once you set the XML file as your background, you can update it. Gnome will notice the changes and the file will be reloaded. That is, you don’t need to set the file as your background after each modification.
- Creating a rotating wallpaper “stack” for your Ubuntu 10.04 (and other Gnome 2.28) system
- Generating Gnome Rotating Backgrounds