F
F
FlashBoy2021-06-23 16:18:17
linux
FlashBoy, 2021-06-23 16:18:17

How to disable sleep mode after closing laptop lid?

Hello! I use the version of Kali Linux Rolling, when I close the lid of the laptop, the system goes to sleep. I tried to change the settings in /etc/systemd/logind.conf according to instructions from the Internet - it does not help. Please tell me how you can set up the eternal and continuous work of Linux?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kyubey, 2021-06-23
@Kyubey

Try writing IgnoreLid=true in /etc/UPower/UPower.conf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question