Quantcast
Viewing all articles
Browse latest Browse all 2849

System and Network configuration • Re: [Solved] Disabling Suspend, etc. on Debian 12

I have a similar problem: when leaving the computer idle for some 30 minutes, the screen goes blank and cannot be switched on any more.
The thread title is about disabling suspend. It sounds like the problem you have is that your system cannot suspend and resume reliably. You might want to open a separate thread on that and provide bit more information on hardware (particularly GPU and its drivers). You also might want to configure netconsole to send kernel logs over the network if it is not able to write them to disk.

As for disabling suspend, I think there are three parts:

1) Disable suspend in login screen: Add the following to /etc/gdm3/greeter.dconf-defaults

Code:

sleep-inactive-ac-type='blank'sleep-inactive-battery-type='blank'
2) Disable suspend when the user is logged in: Add the following to /etc/dconf/db/local.d/01-local

Code:

[org/gnome/settings-daemon/plugins/power]                 sleep-inactive-battery-type='nothing'sleep-inactive-ac-type='nothing'
3) Disable suspend when the lid is closed: Add the following to /etc/systemd/logind.conf

Code:

HandleLidSwitch=ignoreHandleLidSwitchDocked=ignore     

Statistics: Posted by lindi — 2024-02-08 21:40



Viewing all articles
Browse latest Browse all 2849

Trending Articles