all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br>
To: guix-devel@gnu.org
Subject: elogind configuration
Date: Sat, 15 Oct 2022 12:07:16 +0200	[thread overview]
Message-ID: <87mt9xh02z.fsf@yahoo.com.br> (raw)
In-Reply-To: 87mt9xh02z.fsf.ref@yahoo.com.br

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


       reply	other threads:[~2022-10-15 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87mt9xh02z.fsf.ref@yahoo.com.br>
2022-10-15 10:07 ` Antonio Carlos Padoan Junior [this message]
2022-10-15 10:28   ` elogind configuration Tobias Geerinckx-Rice
2022-10-19  9:53   ` Ludovic Courtès
2022-10-20 13:06     ` Csepp
     [not found] <8735bpguyh.fsf.ref@yahoo.com.br>
2022-10-15 11:57 ` Antonio Carlos Padoan Junior
2022-10-15 12:13   ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mt9xh02z.fsf@yahoo.com.br \
    --to=acpadoanjr@yahoo.com.br \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.