Skip to content

Instantly share code, notes, and snippets.

@alvarmaciel
Created March 15, 2014 15:19
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 alvarmaciel/9568888 to your computer and use it in GitHub Desktop.
Save alvarmaciel/9568888 to your computer and use it in GitHub Desktop.
Logind.conf configurar para control de acpi
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See logind.conf(5) for details
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=hybrid-sleep
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
@gilgamezh
Copy link

No deberías poner HandleLidSwitch=ignore ?

@alvarmaciel
Copy link
Author

El tema es que si pongo HandleLidSwitch=ignore no me suspende la máquina cuando cierro la tapa. Lo que quiero es que suspenda cuando cierro la tapa sin AC y mantenga todo prendido cuando cierro la tapa con AC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment