[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
elogind configuration
From: |
Antonio Carlos Padoan Junior |
Subject: |
elogind configuration |
Date: |
Sat, 15 Oct 2022 12:07:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hello Guixers,
I do not know why but "suspend" stopped working on my computer
after a recent upgrade (pull & reconfigure).
I tried to overcome it by modifying elogind configuration in my system.
I modified my config like this:
(define %my-desktop-services
;; List of desktop services that supports a broader range of scanners.
(modify-services %desktop-services
(sane-service-type _ => sane-backends)
(elogind-service-type config =>
(elogind-configuration
(inherit config)
(suspend-state '("freeze"))))))
The %my-desktop-services is been used later like this:
(services (append (list (service ...) (service ...))
%my-desktop-services))
I was hoping that configuring suspend-state variable to "freeze" instead of the
defaults could eventually fix my issue.
However I'm intrigued because my
/run/current-system/profile/etc/elogind/logind.conf
file seems not to had changed at all (all lines are still commented). I was
expecting
to see at least the following line changed after the system reconfigure
(and reboot):
#SuspendState=mem standby freeze
But no.
What I'm missing in my %my-desktop-services definition?
Am I in the good track?
Best regards,
--
Antonio Carlos PADOAN JUNIOR
GPG fingerprint:
243F 237F 2DD3 4DCA 4EA3 1341 2481 90F9 B421 A6C9
- elogind configuration,
Antonio Carlos Padoan Junior <=