Was going to log an issue in the GitLab tracker, but first wanted to see if this was user error.
I’ve crafted an XML wallpaper for hourly screen transitions and then referenced it using another XML under ~/.local/share/gnome-background-properties. When viewed in settings, it comes up as a black image (or uses the scolor, essentially ignores/doesn’t load the file). When selected, it similarly doesn’t display an image, just the scolor. Same result when loading directly from Gnome Tweaks.
Currently using distro supplied XOrg.
NAME="Ubuntu" VERSION="20.10 (Groovy Gorilla)" Linux * 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux GNOME Shell 3.38.1
Steps to reproduce
- Download the following file:
- Create an XML file with the following contents (updating the tag to point to the saved file). This is a stripped down version of what I was trying to load.
<background> <static> <file>~/Downloads/0.jpeg</file> </static> </background>
- Using Gnome Tweaks, load by going to Appearance -> Background -> Image. This is a quicker way of seeing outcome (and validates that there isn’t anything else impacting outcome), however can also load by creating an XML file in ~/.local/share/gnome-background-properties/ with the below content and then selecting in Settings -> Background.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE wallpapers SYSTEM "gnome-wp-list.dtd"> <wallpapers> <wallpaper deleted="false"> <name>adi1090x-dynamic-wallpapers-aurora</name> <filename>~/Pictures/DynamicWallpapers/adi1090x-dynamic-wallpapers/aurora/aurora.xml</filename> <options>zoom</options> <scolor>#101010</scolor> </wallpaper> </wallpapers>
Have tested by disabling all extensions through tweak tool, restarting Gnome (Alt-F2, R) and loading settings again. No success.
Have successfully loaded the file directly without the XML, this works.
Successfully loaded a dynamic wallpaper using source at:
This is really puzzling me. Any thoughts why this simple XML file won’t work?