Make a background slide show in Ubuntu Mate without installing any software

I’ve uploaded these instructions as odt file, the images and xml file I used for an abstract slide show to provide an example for experimentation. The images found on Cloudup [ https://cloudup.com/cwWsUvg4UyE ] are all mine and I give permission to use them. Many folks use pastebin for file sharing, I find that Cloudup enables most any type of file to be stored and shared.

An overview on how to [specific instructions follow]:

  1. Collect the images [minimum 2] you’d like to include into one directory. [I suggest file type jpg or png files since those were the types I know work]

  2. Create xml file. using an editor of your choice create an xml file in the same directory as the images

  3. Transfer the directory containing xml file and images to /use/share/backgrounds

  4. Make your directory a slide show

  5. Collect the images. I suggest creating a new directory for this purpose. I used both jpg and png images with varying degrees of resolution and size. To perfect your slide show I suggest using images of the same type and relatively the same size. To create a new directory from you home directory using a terminal which can be accessed by depressing Ctrl-Alt-t keys simultaneously and type

mkdir {your desired directory name}

  1. Create xml file. using an editor of your choice create an xml file in the same directory as the images. The sections of the xml file are described here - my image names and durations were used. Note that every tag has both a beginning starttime and end /starttime
    Opening identifies time

    ** **
    ** 2009**
    ** 08**
    ** 04**
    ** 00**
    ** 00**
    ** 00**
    ** **
    <!-- This animation will start at midnight. --> simple comment

Identify the first image and duration in seconds [static + transition = 10 minutes]

  <static>
    <duration>595.0</duration>
    <file>/usr/share/backgrounds/abstract_ss/twirl_0849.jpg</file>
  </static>

Identify the transition to and next image

  <transition>
    <duration>5.0</duration>
    <from>/usr/share/backgrounds/abstract_ss/twirl_0849.jpg</from>
    <to>/usr/share/backgrounds/abstract_ss/votive_holder.png</to>
  </transition>

Continue until all your images have been identified. The last element [stanza] should be a transition to the first image.

Identify the transition to first image and end the sequence that started with background

  <static>
    <duration>595.0</duration>
    <file>/usr/share/backgrounds/abstract_ss/calidescope3.jpg</file>
  </static>
  <transition>
    <duration>5.0</duration>
    <from>/usr/share/backgrounds/abstract_ss/calidescope3.jpg</from>
    <to>/usr/share/backgrounds/abstract_ss/twirl_0849.jpg</to>
  </transition>
</background>
  1. Transfer the directory containing xml file and images to /use/share/backgrounds. Using a terminal which can be accessed by depressing Ctrl-Alt-t keys simultaneously execute

    cd to the directory containing images and xml file
    sudo mkdir /usr/share/backgrounds/{supply your desired directory name}
    sudo cp * /usr/share/backgrounds/{supply your desired directory name}/

  2. Make your directory a slide show
    a) right click on your desktop and choose “Change Desktop Background”
    b) click the “Add” button and navigate to your directory
    c) lower right of the screen click on “Images” and change to “All files”
    d) choose your xml file ignoring the question mark and click open

If you choose to experiment with abstract_ss.xml and the images on Cloudup start by creating a slide show directory in your download or pictures directory area and proceed using this directory in step 3.
The directory I used = /home/pfeiffep/Pictures/abstract_ss
The commands for step 3 b & c would be:

sudo mkdir /usr/share/backgrounds/abstract_ss
sudo cp *  usr/share/backgrounds/abstract_ss

Proceed with step 4

2 Likes

Hi there! Link in Cloudup doesn't work anymore, could you put an example of the xml file please? Thanx

Sadly I've lost this.

Thanx for reply, i found an example in the Directory is mentioned in the post

1 Like