2

I'm on Ubuntu 24.04 and i have turned off suspend With

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

and in Power settings and "privacy and security".

and it doesn't suspend when on desktop. BUT, when i set it to the lockscreen the screen turns black and after a wile the screen suspends and a wile after that the PC suspends/hibernates, this is where i get the trouble. The pc is suspended and when i try to wake it it doesn't respond to any thing and i need to hard reset the pc for it to work again.

This is the problem i need to get around. I don't want the pc to suspend ever, not even on lockscreen, the screen can turn off but the pc should not suspend/hibernate since it won't wake up again.

Specs:

  • OS: Ubuntu noble 24.04 x86_64
  • Kernel: 6.8.0-31-generic
  • CPU: AMD Ryzen 7 7700X (16)
  • GPU: AMD Radeon RX 6600 XT
Ormgryd
  • 21

0 Answers0