[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disable suspend without user login
From: |
Attila Lendvai |
Subject: |
Re: disable suspend without user login |
Date: |
Fri, 28 Jan 2022 09:36:45 +0000 |
> 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'