all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br>
Cc: guix-devel@gnu.org
Subject: Re: elogind configuration
Date: Wed, 19 Oct 2022 11:53:20 +0200	[thread overview]
Message-ID: <87zgdsi1gv.fsf@gnu.org> (raw)
In-Reply-To: <87mt9xh02z.fsf@yahoo.com.br> (Antonio Carlos Padoan Junior's message of "Sat, 15 Oct 2022 12:07:16 +0200")

Hi,

Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br> skribis:

> I do not know why but "suspend" stopped working on my computer
> after a recent upgrade (pull & reconfigure).

By that you mean that ‘loginctl suspend’ doesn’t have any effect?

I’ve just tried on my laptop and it works for me with this system
generation:

--8<---------------cut here---------------start------------->8---
$ guix system describe
Generation 204  Oct 10 2022 00:29:29    (current)
  file name: /var/guix/profiles/system-204-link
  canonical file name: /gnu/store/yvaj9yi25rm16q9j6jccviaf5i55hk83-system
  label: GNU with Linux-Libre 5.19.14
  bootloader: grub-efi
  root device: label: "root"
  kernel: /gnu/store/8s41d36dgb700p3g5jbgl5vy7wi7lbsw-linux-libre-5.19.14/bzImage
  channels:
    guix:
      repository URL: https://git.savannah.gnu.org/git/guix.git
      branch: master
      commit: e827d45db92d6e1f9dc68199cd40cb5d67de9d46
  configuration file: /gnu/store/p4w6x2q9x9cakslb0n6qcqyydn5y0a8m-configuration.scm
--8<---------------cut here---------------end--------------->8---

> However I'm intrigued because my
> /run/current-system/profile/etc/elogind/logind.conf

As Tobias wrote, it’s a trap.  :-)

The config file that’s actually use can be found like so:

--8<---------------cut here---------------start------------->8---
$ sudo herd status elogind
Status of elogind:
  It is started.
  Running value is 347.
  It is enabled.
  Provides (elogind).
  Requires (dbus-system).
  Conflicts with ().
  Will be respawned.
$ sudo cat /proc/347/environ |xargs -0
ELOGIND_CONF_FILE=/gnu/store/z14j9xi29aci66d2akcflbgxzwm4lg8q-logind.conf
--8<---------------cut here---------------end--------------->8---

I guess we could improve that user interface.

Ludo’.


  parent reply	other threads:[~2022-10-19  9:55 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 ` elogind configuration Antonio Carlos Padoan Junior
2022-10-15 10:28   ` Tobias Geerinckx-Rice
2022-10-19  9:53   ` Ludovic Courtès [this message]
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=87zgdsi1gv.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=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.