Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

How to make Lid Closed event ignored and disable to "suspend" event

$
0
0
Hi,
I've been struggling with this since some time and wasn't able to find a working solution till now. What I want to do is to disable the "suspend" event once the lid of the laptop is closed.
I can do this once I'm logged in through the KDE Powermanagement setup.
But I also want to prevent the suspend just when the laptop boots, nobody is logged in and I close the lid. (I just want to SSH to the laptop and keep it running).
I've tried to set the "HandleLidSwitch=ignore" under /etc/systemd/logind.conf but it didn't make any change.
Where can I set this, so that it also works when nobody is logged in?
Many thanks

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>