Systemd overrides laptop lid close options in Gnome
If you are using Gnome on a laptop in Debian Jessie (or possibly any other Linux distro using Systemd), you may find that the When laptop lid is closed menu in Gnome Tweak has no effect: closing the laptop lid always suspends the laptop.
This is because the Systemd default overrides the Gnome option. To fix it, edit /etc/systemd/logind.conf
and uncomment HandleLidSwitch and change from suspend to ignore, thus:
This blog is a record of Internet security stories that have caught my attention, malware issues and computer problems that I've had to deal with or help with, and software I've discovered. It's here both to help me remember (because I'm always coming across the same issues months or years later and thinking to myself "This seems familiar"), and in the hope that it might help others.