Create a Simple Slideshow Wallpaper on Ubuntu Lucid Lynx 10.04


You can create a simple wallpaper slideshow like Windows 7 on Ubuntu with XML Script, Now i will share that script to you...


The first you must prepare the images that you want to use as slideshow wallpaper,, minimal you need 10Pictures for nice looks... if you want to add more images you can do that later,,

This in the step :

1. Open your terminal.
2. Type sudo gedit , and insert your password
3. gedit text editor window will shown
4. Copy and Paste this script to gedit


<background>
<!-- Gambarnya akan berganti setiap 30 Detik, dan transisinya akan berlangsung selama 5 detik. -->
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar1.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar1.jpg</from>
    <to>/home/user/picture/slideshow/gambar3.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar3.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar2.jpg</from>
    <to>/home/user/picture/slideshow/gambar3.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar3.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar3.jpg</from>
    <to>/home/user/picture/slideshow/gambar4.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar4.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar4.jpg</from>
    <to>/home/user/picture/slideshow/gambar5.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar5.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar5.jpg</from>
    <to>/home/user/picture/slideshow/gambar6.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar6.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar6.jpg</from>
    <to>/home/user/picture/slideshow/gambar7.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar7.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar7.jpg</from>
    <to>/home/user/picture/slideshow/gambar8.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar8.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar8.jpg</from>
    <to>/home/user/picture/slideshow/gambar9.jpg</to>
  </transition>
  <static>
    <duration>30.0</duration>
    <file>/home/user/picture/slideshow/gambar9.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/home/user/picture/slideshow/gambar9.jpg</from>
    <to>/home/user/picture/slideshow/gambar1.jpg</to>
  </transition>
</background>







5.  How to use :


         

 -Change 30.0  to the time the images will be changed ( in Second)

              <duration>30.0</duration>
          
          
 -Change /home/user/picture/slideshow/gambar.jpg to path of your images


             <file>/home/user/picture/slideshow/gambar9.jpg</file>
            
           
-Change  5.0 to the transition delay bettwen images (in Second)

              <duration>5.0</duration>



Save the script as background.xml, and than right click on your desktop, select Change Desktop Background, click add background change the file tipe to All and than browse the script  that you have been saved.

be sure to put all images in same folder with the xml script.
Enjoy !!!

0 Response to "Create a Simple Slideshow Wallpaper on Ubuntu Lucid Lynx 10.04"