unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: Liliana Marie Prikler <liliana.prikler@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: disable suspend without user login
Date: Fri, 28 Jan 2022 09:36:45 +0000	[thread overview]
Message-ID: <lJ-HukmLsvrQ8g2HOV1Fj9Dh1ZEkP-UwFhynoLsV_M6rpYNMHbxrgvv6dQQjpXKoLBYR7gS1gCLjhaFUj1z7oqKue4wMZmWmH7k8md61f2o=@lendvai.name> (raw)
In-Reply-To: <156be0ed211890c3aa287e99c03264d7fa102eb2.camel@gmail.com>

> The first reply already says what you have to do, i.e. set those two

my problem was that i didn't know how to run dbus-launch on Guix.

the proper incantation on Guix is:

$ guix install glib:bin xhost
$ xhost +
$ ll `which gsettings`
$ su -
# su --login gdm --shell `which bash`
-bash-5.1$ dbus-launch /gnu/store/567jgb5q1cr7xmqsd5kairrdj66ihhy9-glib-2.70.0-bin/bin/gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'

is this worthy for the cookbook, shall i send it in a patch?

the other method, namely to produce a patched gdm package, is still beyond my expertise at this point.

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“The supreme art of war is to subdue the enemy without fighting.”
	— Sun Tzu (c. 6th century BC), 'The Art of War'



  reply	other threads:[~2022-01-28  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27  9:28 disable suspend without user login Attila Lendvai
2022-01-27 19:45 ` Simon Streit
2022-01-27 19:57 ` Liliana Marie Prikler
2022-01-28  9:36   ` Attila Lendvai [this message]
2022-01-28 17:11     ` Vagrant Cascadian

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='lJ-HukmLsvrQ8g2HOV1Fj9Dh1ZEkP-UwFhynoLsV_M6rpYNMHbxrgvv6dQQjpXKoLBYR7gS1gCLjhaFUj1z7oqKue4wMZmWmH7k8md61f2o=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    --cc=liliana.prikler@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).