-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
kde: hm failing to set wallpaper when not in plasma session #340
Comments
Related: #254 |
This has been mentioned before, but I can't find the comment to link to it. This happens because the plasma tools try to connect to a service running in the Plasma session to change the wallpaper. When Plasma isn't installed, this is not a problem since we detect that the tools aren't there and don't try to run the command. Possible fixes could be:
|
Hello, it is quite annoying for home-manager to crash on every start, so I would like to remedy this situation. What would you say, @danth, if I added option (an enum) to KDE module to choose either not fail if wallpaper can't be set or shove the activation to a user systemd unit, defaulting to the first? |
…anth#708) Replace the systemd unit with a more robust AutostartScript for theme application during Plasma startup, ensuring D-Bus and session availability without breaking Home Manager activation. Closes: danth#340 Closes: danth#350 Closes: danth#422 Link: danth#708 Co-authored-by: rkuklik <[email protected]> Tested-by: lordkekz <[email protected]> Tested-by: rkuklik <[email protected]> Reviewed-by: NAHO <[email protected]>
…708) Replace the systemd unit with a more robust AutostartScript for theme application during Plasma startup, ensuring D-Bus and session availability without breaking Home Manager activation. Closes: #340 Closes: #350 Closes: #422 Link: #708 Co-authored-by: rkuklik <[email protected]> Tested-by: lordkekz <[email protected]> Tested-by: rkuklik <[email protected]> Reviewed-by: NAHO <[email protected]> (cherry picked from commit e0a41d3)
…708) Replace the systemd unit with a more robust AutostartScript for theme application during Plasma startup, ensuring D-Bus and session availability without breaking Home Manager activation. Closes: #340 Closes: #350 Closes: #422 Link: #708 Co-authored-by: rkuklik <[email protected]> Tested-by: lordkekz <[email protected]> Tested-by: rkuklik <[email protected]> Reviewed-by: NAHO <[email protected]> (cherry picked from commit e0a41d3)
Using NixOS Unstable + Home Manager, with Plasma 6 installed but mostly running Hyprland, I still rely on a lot of KDE software and am letting stylix auto-enable targets.
When rebuilding a minimal stylix config (just image and polarity) from Hyprland, Home Manager throws an error about not being able to set the Plasma wallpaper and fails to switch to the new hm environment.
Disabling
stylix.targets.kde.enable
provides a workaround as expected, but at the cost of themes for Qt apps.Rebuilding from a Plasma session succeeds.
Log
systemctl status
info printed when hm failsThe text was updated successfully, but these errors were encountered: