Skip to content

Fix: Setting wallpaper path in script #494

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

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

Faupi
Copy link

@Faupi Faupi commented May 26, 2025

Simply removed file:// from the wallpaper path, as also KDE itself just uses the direct path and using this prefix makes SVG (potentially other formats as well?) not work for one reason or another.

Tested with my personal SVG wallpaper, but I don't see how it would cause issues with others, as this matches the native Plasma 6 handling on my system:

Operating System: NixOS 25.05
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.12.26 (64-bit)
Graphics Platform: Wayland```

@Faupi
Copy link
Author

Faupi commented Jun 4, 2025

Bleh, seems like the issue might be due to something else and my change just so happened to resolve it temporarily, or it's possible that what I run into with the wallpaper is just something stacked on top, as I got it again despite leaving out the file:// prefix:

plasmashell[2595]: qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!

Still, since Plasma writes the path without the prefix, maybe it's good to do it the same anyway, but I'm fine with skipping this change as well. I'll be on the lookout for what actually causes these issues with SVG wallpapers.

Relevant sample from ~/.config/plasma-org.kde.plasma.desktop-appletsrc for anyone interested:

[Containments][1]
...
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image

...

[Containments][1][Wallpaper][org.kde.image][General]
Image=/nix/store/vzhrijwva1jj65daddhv4522gi04msq1-source/home-manager/cfgs/shared/kde-plasma/wallpaper.svg

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

Successfully merging this pull request may close these issues.

1 participant