0

Working on an Asus K550L, just installed Ubuntu 20.04. When I close the lid, I have the setting all set to suspend. I've done it in Tweaks, and I've set it in logind.conf as well, but the computer keeps powering off and I have to reboot. I also have Windows installed, not sure if that plays a role. Thank you in advance for any advice.

Here are the settings:

#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
xiota
  • 5,038
Chefdaddy
  • 11
  • 2

1 Answers1

1

The # symbol at the beginning of the line means "ignore this line". Remove those # symbols to have the settings take effect.

Edit: It's recommended to leave the # symbol on lines that you don't care about, so if the defaults ever change, you'll get the new default for that setting.

JasonWoof
  • 111