Skip to main content

Ubuntu:How To make own slide show desktop


  1. Become root :
    $ sudo -i
  2. Create a folder called "creative"( or whatever folder name you like) in /usr/share/backgrounds
    # cd /usr/share/backgrounds
    # mkdir creative
  3. 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

    Popular posts from this blog

    How To: Generating Table Report via JSON data-source in Jasper Report

    Recently, I got a chance to generate reports using JSON data source in Jasper Report via Java Spring application. As I was newbie in Jasper Report; I tried to find out tutorials to get started with JSON data source and populate JSON data in table. I thought it will be smooth but its not; you need to do some configuration in JRXML to populate the data fields. In this How - To, I will try to explain how to setup JSON data source and pull data field in iReport (Jasper Report - Report Designer Tool) and then generate a table.   Note: For Java 8 users, refer this link to open iReport http://stackoverflow.com/questions/23902977/ireport-not-starting-using-jre-8 First we create static JSON file student.json: [{"name" : "ABC", "age" : 23, "address" : "11 street", "taking_hostel" : "No"},{"name" : "DEF", "age" : 22, "address" : "1 street", "taking_hostel" : &q

    How To: Automate MS Excel

    MS Excel, sometimes we got some task which is time taking and require good manual effort. To automate these kind of task and making our life easy there are two ways - 1) Macro - MS Excel provide Macros functionality to automate tasks in Excel. We can record our steps ( go to 'View' tab then Record Macro) then run this recorded Macro to perform the same task again. It will be good if you know VB Scripting to write general algorithm Macros. 2) Python - Python has excel API xlrd and xlwt for reading and writing Excel documents. Python is easy to use and you can code easily as compare to VB Scripting. With Python Excel API we can easily automate the excel task. I) Setup the environment - Download Eclipse  - Eclipse is a Intergrated Development Environment in which we can easily write code. Download Python . Download Python Excel API . Open Eclipse - then go to Help menu bar - then Eclipse Marketplace Search pydev and install the Pydev - Python IDE for Eclipse  Afte

    How to host DC hub

    A DC(Direct Connect) hub is a common sharing platform to share files (audio/video/documents etc.). So , to host DC hub In Ubuntu (below 12.10) : $ sudo apt-get install opendchub After installing opendchub $ sudo opendchub Then it will ask you for port number on which DC hub will listen for user connections , so provide a port number (eg. 789 or 20103) then it will ask you for a admin link password and hub link password , so provide both passwords. Now you successfully configured the DC hub, so start the opendchub service $ sudo /etc/init.d/opendchub start and for stopping $ sudo /etc/init.d/opendchub stop Ubuntu 12.10 and other varients : You will find the open source package for opendchub , download that and then # gunzip opendchub.tar.gz # tar -xvf opendchub.tar # cd opendchub # apt-get install  libperl-dev # ./configure #make #make install # opendchub      Now the same thing it will ask you for DC hub port number to listen user connections , a