- Become root :
$ sudo -i
- Create a folder called "creative"( or whatever folder name you like) in /usr/share/backgrounds
# cd /usr/share/backgrounds
# mkdir creative - In this folder put those wallpapers which you want in slideshow
# cd creative
# ls
mountain-172v.jpg rai22m.jpg sunset-109a.jpg waterfalls-3a.jpg waterscapes-14v.jpg
(source: www.santabanta.com)
4. Now put this xml code into file "background.xml"(or whatever name you like) in the same creative folder.
<background>
<starttime>
<year>2011</year>
<month>06</month>
<day>07</day>
<hour>00</hour>
<minute>00</minute>
<second>00</second>
</starttime>
<static>
<duration>1200.0</duration>
<file>/usr/share/backgrounds/creative/waterscapes-14v.jpg</file>
</static>
<transition>
<duration>4.0</duration>
<from>/usr/share/backgrounds/creative/waterscapes-14v.jpg</from>
<to>/usr/share/backgrounds/creative/waterfalls-3a.jpg</to>
</transition>
<static>
<duration>1200.0</duration>
<file>/usr/share/backgrounds/creative/waterfalls-3a.jpg</file>
</static>
<transition>
<duration>4.0</duration>
<from>/usr/share/backgrounds/creative/waterfalls-3a.jpg</from>
<to>/usr/share/backgrounds/creative/mountain-172v.jpg</to>
</transition>
<static>
<duration>1200.0</duration>
<file>/usr/share/backgrounds/creative/mountain-172v.jpg</file>
</static>
<transition>
<duration>4.0</duration>
<from>/usr/share/backgrounds/creative/mountain-172v.jpg</from>
<to>/usr/share/backgrounds/creative/sunset-109a.jpg</to>
</transition>
<static>
<duration>1200.0</duration>
<file>/usr/share/backgrounds/creative/sunset-109a.jpg</file>
</static>
<transition>
<duration>4.0</duration>
<from>/usr/share/backgrounds/creative/sunset-109a.jpg</from>
<to>/usr/share/backgrounds/creative/rai22m.jpg</to>
</transition>
<static>
<duration>1200.0</duration>
<file>/usr/share/backgrounds/creative/rai22m.jpg</file>
</static>
<transition>
<duration>4.0</duration>
<from>/usr/share/backgrounds/creative/rai22m.jpg</from>
<to>/usr/share/backgrounds/creative/waterscapes-14v.jpg</to>
</transition>
</background>
5. Now open gnome appearances properties
# gnome-appearance-properties
or
right click on desktop --> change desktop background --> background tab .
6. Click on add button and browse to /usr/share/backgrounds/creative/background.xml --> open.
7. Congratulations the slide show will add to your desktop. :)
Comments
Post a Comment