Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallpaper: Setting multiple backgrounds using wallpaper.xml not working #404

Open
phako opened this issue Nov 16, 2022 · 1 comment
Open

Comments

@phako
Copy link

phako commented Nov 16, 2022

When I set the background via the portal to be a wallpaper.xml file containing references to multiple images, the background will stay black.

Apparently gnome-shell fails to identify the default name "background" as an xml file and bails out with
Failed to load background 'file:///home/jens/.config/background': Unrecognized image file format.

The issue here seems to be the extension, if I move the file to background.xml and point gsettings to that, it will work fine. Not sure if this is actually an issue in gnome-shell though

@phako
Copy link
Author

phako commented Nov 16, 2022

Ok, this is partially caused by me not writing the XML declaration in the file, which then makes the MIME type guessing fall back to ASCII. Fixing that on my side makes it work after restarting gnome-shell.

However, there is some special casing for files ending with .xml for backgrounds in gnome-shell which might cause some issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant