Skip to content

Instantly share code, notes, and snippets.

@azizmb
Last active December 23, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azizmb/6621815 to your computer and use it in GitHub Desktop.
Save azizmb/6621815 to your computer and use it in GitHub Desktop.

Prevent laptop from suspending when lid is shut

/etc/systemd/logind.conf:

HandleLidSwitch=ignore
sudo systemctl stop systemd-logind && sudo systemctl start systemd-logind

source

Emacs

pip install flake8 # for flycheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment