Disable standby when closing laptop lid

2017/01/15

Checked against Kali Linux 2.0.

In /etc/systemd/logind.conf edit HandleLidSwitch=ignore

And then restart the daemon with: # systemctl restart systemd_logind