How to Create Desktop Wallpaper Slideshow in Ubuntu 20.04

Paper GTK3 and Icon themes

This simple tutorial shows how to manually create a desktop slideshow with your photos in Ubuntu 20.04 LTS.

If you’re just looking for an automatic wallpaper changing software, here are four choices.

In Ubuntu Gnome, you can create your own wallpaper slideshow with simple XML file, then select it in Background settings.

XML slideshows in Background settings are displayed with a small clock emblem in the lower-right corner of the preview. (See the red rectangle area in the picture)

To create desktop slideshow via XML:

1.) First create an empty document, and re-name it to FILE_NAME.xml.

  • It’s not important where to put the XML file. In my case, I created it in sub folder of my Pictures directory: Pictures/Wallpaper/slideshow.
  • And the name is not important. In my case, it’s wallpaper-slideshow.xml.

2.) Open the XML file with text editor and write following line:

<?xml version="1.0" ?>

The file content is easy to read. It starts with <?xml version=”1.0″ ?>, then follows with a <background> node.

With in <background> node, you can add as many <static> and <transition> nodes as you can depends on number of wallpaper files.

While the <static> node contains display time (in seconds) and path to the picture file, the <transition> contains transition time and files.

Click to expand:

Make the XML slideshow visible in Background settings:

Open terminal (Ctrl+Alt+T) and run command to create the .local/share/gnome-background-properties folder if not exist:

mkdir .local/share/gnome-background-properties

Then create the config file and open with Gedit text editor:

gedit .local/share/gnome-background-properties/my-slideshow.xml

When it opens, paste following lines and change the file path in <filename> node:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpaper deleted="false">
<name>Wallpaper Slideshow created by Ji</name>

Finally open or re-open Background settings and you should see the new created background slideshow.