GNU bug report logs -
#73859
lightdm-service-type is almost unusable
Previous Next
Reported by: Dariqq <dariqq <at> posteo.net>
Date: Fri, 18 Oct 2024 09:25:01 UTC
Severity: normal
Tags: patch
Merged with 68055
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 73859 <at> debbugs.gnu.org (full text, mbox):
This changes lightdm and the service to use the config file from a well-known location in /etc/lightdm/lightdm.conf s.t. the gtk-greeter knows about our custom "sessions-directory".
I then removed the custom config file from the lightdm servcice and removed passing XDG_CONFIG_DIRS which are no longer neccesary.
Renamed lightdm-configuration->greeters-config-dir to just lightdm-configuration-directory (inspired by how the dbus-service names its directory) and also moved the etc-extension into a seperate procedure for consistency with other services.
I tested this on my i686 pc and ran 'make check-system TESTS=lightdm' successfully
This is also the approach done on NixOS, see
* https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/display-managers/lightdm/default.nix#L93
*https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/x11/display-managers/lightdm.nix#L259
Fixes https://issues.guix.gnu.org/68055
Dariqq (2):
gnu: lightdm: Use global sysconfdir.
gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm.
gnu/packages/display-managers.scm | 7 ++++-
gnu/services/lightdm.scm | 48 ++++++++++++++-----------------
2 files changed, 27 insertions(+), 28 deletions(-)
base-commit: ea11d3608566174c4bae70faa4f9d0c67748d2db
--
2.46.0
This bug report was last modified 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.