Monday, November 21, 2016

Stop the laptop from going stand by when lid is closed in Xubuntu

Stop the laptop from going stand by when lid is closed in Xubuntu


I hate the fact that I have to figure this out for every new distro I use. But here it goes for Xubuntu. Tested and working in 14.04 LTS.

1. Open the file /etc/systemd/logind.conf
2. Find the line "HandleLidSwitch="
3. Set it like "HandleLidSwitch=ignore" and if it has a "#" (hash" in front of it, remove it.
Save and reboot and you are good. :)
Credits: http://askubuntu.com/a/362692/145915

Go to link download