On 2022-01-28, Attila Lendvai wrote: >> 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' Be very careful with "xhost +", from the xhost manpage: + Access is granted to everyone, even if they aren't on the list (i.e., access control is turned off). X is also a network-transparent protocol, so read-write access to your display from any user on your system or potentially on the network opens the door wide for keyloggers or other ways to steal passphrases, data on disk, etc. live well, vagrant