Skip to content

Conversation

@ryonakano
Copy link
Member

Fixes #217

Backport of the fix in NixOS: NixOS/nixpkgs@d1de5b7

Checklists

NOTE: You'll need to run systemctl enable --user io.elementary.settings-daemon.service after building and installing this branch, while this should be automatically handled in case of Debian packaging.

@ryonakano ryonakano requested a review from a team January 17, 2026 02:54
@ryonakano
Copy link
Member Author

@bobby285271 I would appreciate it if you would review this and check if Settings Daemon autostarts on NixOS without NixOS/nixpkgs@d1de5b7.

@ryonakano ryonakano force-pushed the ryonakano/migrate-systemd-service branch from c16baf6 to c52b43b Compare January 17, 2026 02:56
@bobby285271
Copy link
Member

After fixing these issues I can confirm this works for me:

  1. The build fails on update-desktop-database because with this PR nothing is installed in share/applications any more.

    update_desktop_database: true

    FAILED: install script '/nix/store/5ridz8xqki02m7zpjpnbnmx6pjgcc68d-desktop-file-utils-0.28/bin/update-desktop-database -q /nix/store/g56rp1b1484s1r1763isa8pwd6mhqddr-elementary-settings-daemon-8.4.0/share/applications' failed with exit code 1.
    
  2. Then I got this in my journal that requires me to change the ExecStart line to an absolute path (i.e. ExecStart=@bindir@/io.elementary.settings-daemon)

    Jan 17 11:28:56 thinkbook (s-daemon)[4472]: io.elementary.settings-daemon.service: Failed at step EXEC spawning io.elementary.settings-daemon: No such file or directory
    Jan 17 11:28:56 thinkbook (s-daemon)[4472]: io.elementary.settings-daemon.service: Unable to locate executable 'io.elementary.settings-daemon': No such file or directory
    

(p.s. also hit a NixOS issue that is not related to this PR :-) We know how to workaround that though)

Because we no longer install any .desktop files and leaving this here causes
build error on some environments:

#218 (comment)
Because settings-daemon.service fails to start settings-daemon in some environments:

#218 (comment)
@ryonakano
Copy link
Member Author

@bobby285271 Thank you for your quick test! I addressed your comments.

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.

Gnome-session no longer manages session services

3 participants