Skip to main content


Prevent sleep/suspend when not logged in
Recently I've been logged into a laptop remotely a lot. Logging out from "main" session makes my Gnome on Debian 12 go to suspend after a while. To avoid it you just have to tell:

sudo dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 039;nothing039;

Thanks to WinEunuuchs2Unix for the answer
https://monodes.com/predaelli/2024/01/08/prevent-sleep-suspend-when-not-logged-in/
#Gnome #GNULinux #Tricks

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.