-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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 Plasma5 + xdg-user-dir: plasma5 xorg session does not autostart xdg-user-dirs.desktop #222925
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/error-installing-kde-spin-i-think/27375/4 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/error-installing-kde-spin-i-think/27375/6 |
As per discourse discussion and thanks to jtojnar, this is due a confirmed bug: systemd/systemd#18791 Patch is already out. Bug affects only KDE and impacts all distributions. Until it lands, use either:
or
there is no need to enable anything, its managed by NixOS, reboot and relogin should be enough. Directories can be controlled from within configuration.nix like this (example):
Beware that directory localization is extremely primitive, only few words allowed. Custom directory names are possible by editing the ~/.config/user-dirs.dirs after relogin, or write them as-is globally for every user into configuration.nix. |
Describe the bug
This is what I observe for NEW user with clean home directory.
configuration.nix has only plasma5 enabled.
Plasma ignores the requirement to autostart /run/current-system/sw/etc/xdg/autostart/xdg-user-dirs.desktop
Linked discussion:
#222904 comment 1483124476
#221604 #222904
Expected behavior
The desktop file
xdg-user-dirs.desktop
is installed together withxdg-user-dirs-update
script by packagexdg-user-dirs
sourced by all DEs, including Plasma. This desktop file is expected to be executed by DE so thatxdg-user-dirs-update
can building the home directories.Behavior can be disabled by linking directories to $HOME.
Notify maintainers
@ttuegel
@nyanloutre
(from https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/desktops/plasma-5/default.nix#L38)
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: