rk3457255
(Rishabh kr)
January 19, 2023, 10:35am
1
Whenever I close my lid, it goes into suspend mode.
I want it should do nothing when I close it.
I have made following changes in sudo vi /etc/systemd/logind.conf
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
In GNOME Tweaks, ’ Suspend when lid is closed ’ is turned off.
But nothing happened.
1 Like
user097
(John Smith)
January 19, 2023, 1:47pm
2
Added: OK, I see. Strange.
Is that what you want?
I hope that is not what he sees. That image shows suspend is enabled on lid close.
rk3457255
(Rishabh kr)
January 20, 2023, 9:15am
4
My issue is resoled.
I just ran the following command in terminal -
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
1 Like
jdrch
(jd rch)
November 11, 2023, 3:36am
5
Thanks, I’ve struggled with the same issue with the exact same initial attempted fixes since installing Fedora on an HP ProBook 4530s. Let’s hope this fixes the problem.
UPDATE : This does indeed solve the problem. Thanks again.