D
D
DimiDr0lik2015-11-16 12:32:27
linux
DimiDr0lik, 2015-11-16 12:32:27

How to disable sleep in ubuntu server 14.04?

The laptop has ubuntu server 14.04 installed, when the lid is closed it goes to sleep, how can I disable it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikon_NLG, 2015-11-16
@DimiDr0lik

Try
HandleLidSwitch=ignore
in /etc/systemd/logind.conf
and sudo systemctl restart systemd-logind.service

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question