I have searched google high and low for a solution and had it working for a time, even added a whole slew of files to /usr/share/backgrounds
(jpg, png, webp) and updated the /usr/share/gnome-background-properties/backgrounds.xml
file to include the newly added files.
All worked fine. every image displayed in the background selector dialogue and on the desktop and the provided slideshows (like precise.xml) worked, too.
OK, cool. Then, I created my own slideshow xml file, and added it to the wallpapers in /usr/share/backgrounds/
. and it worked great! but, the timing was not to my liking.
Originally, the duration was set to 300 seconds (five minutes) and the transition set to 5 seconds. nice, but I wanted to make some minor adjustments. so i did that using a perl script I wrote (output of which is below and truncated), and now...nothing works!
I am quite certain I have this setup correctly, but just can't figure out why it won't work.
here's my backgrounds.xml
(stored in /usr/share/gnome-background-properties/
)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd">
<wallpapers>
<wallpaper deleted="false">
<name>Slideshow</name>
<filename>/usr/share/backgrounds/slideshow.xml</filename>
<options>zoom</options>
</wallpaper>
<wallpaper>
<_name>OK1</_name>
<filename>/usr/share/backgrounds/OK1.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<_name>OK10</_name>
<filename>/usr/share/backgrounds/OK10.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
<wallpaper>
<_name>OK100</_name>
<filename>/usr/share/backgrounds/OK100.jpg</filename>
<options>zoom</options>
<pcolor>#000000</pcolor>
<scolor>#000000</scolor>
<shade_type>solid</shade_type>
</wallpaper>
.
.
.
</wallpapers>
and my slideshow.xml
(stored in /usr/share/backgrounds/
)
<background>
<starttime>
<year>2009</year>
<month>08</month>
<day>04</day>
<hour>00</hour>
<minute>00</minute>
<second>00</second>
</starttime>
<static>
<duration>10.0</duration>
<file>/usr/share/backgrounds/OK114.jpg</file>
</static>
<transition>
<duration>3</duration>
<from>/usr/share/backgrounds/OK114.jpg</from>
<to>/usr/share/backgrounds/OK165.jpg</to>
</transition>
<static>
<duration>10.0</duration>
<file>/usr/share/backgrounds/OK165.jpg</file>
</static>
<transition>
<duration>3</duration>
<from>/usr/share/backgrounds/OK165.jpg</from>
<to>/usr/share/backgrounds/OK209.jpg</to>
</transition>
<static>
<duration>10.0</duration>
<file>/usr/share/backgrounds/OK209.jpg</file>
</static>
<transition>
<duration>3</duration>
<from>/usr/share/backgrounds/OK209.jpg</from>
<to>/usr/share/backgrounds/OK42.jpg</to>
</transition>
.
.
.
</background>
both of these xml files are huge. 2000+ lines.
this is baffling the jeepers out of me. when I bring up the background pictures selection dialogue, I can see my slideshow listed, and it even shows a randomly chosen image. but, when i double click it to be the background, my destkop wallpaper remains all black.
did I make a typo I'm not seeing? am I missing a critical detail? just lost on it.
any help is appreciated, and if I have forgotten to add something in, instead of berating me, and chasing me for not including it, simply ask for it, and I will happily include it.
I have searched lots of things. followed directions at the following sites (but not limited to): https://help.ubuntu.com/community/SlideshowWallpapers https://opensource.com/article/17/12/create-your-own-wallpaper-slideshow-gnome
now, I only see two images in the background selection dialogue. my slideshow file, and one image when there should be the slideshow, and so very many other images.
.jpg
1 with.png
and 1 with.webp
and test it. how did you createslideshow.xml
file? can you share that script?.jpg
only with a script.. It respected the duration time I have given in seconds.. Ubuntu 19.10.. I think you are using 18.04?