Skip to content

Instantly share code, notes, and snippets.

@rubencabrera
Last active August 10, 2018 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubencabrera/316f4b9eca506f172f379330e3cc1044 to your computer and use it in GitHub Desktop.
Save rubencabrera/316f4b9eca506f172f379330e3cc1044 to your computer and use it in GitHub Desktop.
Gnome slideshow
<?xml version="1.0" ?>
<background>
<static>
<!-- Duration in seconds -->
<duration>120.0</duration>
<file>/home/ruben/Pictures/Wallpapers/file-1.jpg</file>
</static>
<transition>
<!-- Duration of the transition in seconds, default is 2 seconds -->
<duration>0.5</duration>
<from>/home/ruben/Pictures/Wallpapers/file-1.jpg</from>
<to>/home/ruben/Pictures/Wallpapers/file-2.jpg</to>
</transition>
<static>
<!-- Duration in seconds -->
<duration>120.0</duration>
<file>/home/ruben/Pictures/Wallpapers/file-2.jpg</file>
</static>
<transition>
<!-- Duration of the transition in seconds, default is 2 seconds -->
<duration>0.5</duration>
<from>/home/ruben/Pictures/Wallpapers/file-2.jpg</from>
<to>/home/ruben/Pictures/Wallpapers/file-1.jpg</to>
</transition>
</background>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Place this file in $HOME/.local/share/gnome-background-properties -->
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Mis wallpapers</name>
<!-- The next bit references the other file -->
<filename>/home/ruben/Pictures/Wallpapers/miswallpapers.xml</filename>
<options>zoom</options>
</wallpaper>
</wallpapers>
@rubencabrera
Copy link
Author

Gist to set Gnome to display a custom slideshow.

@rubencabrera
Copy link
Author

Adding a new image to the slide show would only need to add a new and section for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment