You are not logged in.
Pages: 1
I have an issue where when my laptop goes to sleep after inactivity it's not possible to bring back. I have to turn it off and turn it back on. I figure the easiest solution is to disable sleep altogether. I've tried a few things already with no success:
I went to the systemd and into the login.conf and IdleAction is set to ignore already and I changed the IdleActionSec to something extremely high, saved it and rebooted everything. Still went to sleep after maybe 30 mins.
I followed the instructions at this link: https://ostechnix.com/linux-tips-disabl … bernation/
Same results.
I was wondering if anyone had any other solutions for how to prevent sleep. I just want my computer to remain on indefinitely until I decide to turn it off.
I am running dwm with no display manager if that matters at all. Thanks.
Last edited by mkemorgn (2021-01-10 23:08:57)
Offline
How are you starting dwm? If via .xinitrc it needs to contain the necessary script executions so that logind properly knows about your graphical session https://wiki.archlinux.org/index.php/Xinit#xinitrc
What could also be is that you are actually running into DPMS rather than suspension which aren't the same thing: https://wiki.archlinux.org/index.php/Di … _Signaling
Offline
Thanks. I figured it out using this article on arch wiki:
https://wiki.archlinux.org/index.php/Di … bling_DPMS
xset s off -dpmsI'm pretty sure this is the command that solved the issue for me if anyone else has this same issue.
Offline
Pages: 1