On my Dell laptop for some reason when my screen gets automatically turned off by the OS, it goes hibernate or sleep, and I can never recover it from that state by pressing any buttons.
I want to disable hibernate and sleep entirely!
I ran the command below which created a bunch of symlinks, but it didn't help. Right after the screen gets automatically turned off, my laptop enters hybernate or sleep.
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target
○ sleep.target
Loaded: masked (Reason: Unit sleep.target is masked.)
Active: inactive (dead)
○ suspend.target
Loaded: masked (Reason: Unit suspend.target is masked.)
Active: inactive (dead)
○ hibernate.target
Loaded: masked (Reason: Unit hibernate.target is masked.)
Active: inactive (dead)
○ hybrid-sleep.target
Loaded: masked (Reason: Unit hybrid-sleep.target is masked.)
Active: inactive (dead)
Ideas, suggestions?
Regards
When screen turns off the laptop goes hibernate / sleep
Re: When screen turns off the laptop goes hibernate / sleep
try to set this at gnome config
Re: When screen turns off the laptop goes hibernate / sleep
You might also check in /var/log/messages to see if you can find out why the suspend/resume does not work.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke