Skip to content

Instantly share code, notes, and snippets.

@mncaudill
Created November 20, 2011 09:02
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 mncaudill/1380033 to your computer and use it in GitHub Desktop.
Save mncaudill/1380033 to your computer and use it in GitHub Desktop.
ArchLinux + Gnome -- don't suspend laptop when closed
ACPI can run, but gnome also has a hook into what happens when ACPI events happen. I spent waaay too much time fighting with this...
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action nothing
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action nothing
Or run dconf-editor and navigate through the trees.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment