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.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.
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'
Code:
[org/gnome/settings-daemon/plugins/power] sleep-inactive-battery-type='nothing'sleep-inactive-ac-type='nothing'
Code:
HandleLidSwitch=ignoreHandleLidSwitchDocked=ignore
Statistics: Posted by lindi — 2024-02-08 21:40