How do you change the settings about the action triggered by the laptop lid closing?

At /etc/systemd/logind.conf I changed #HandleLidSwitch=suspend to HandleLidSwitch=hibernate but it had no effect.

I also tried to change the settings at gnome-tweak-tool, but the tool won't let me set anything but suspend as the action triggered by the lid close.

I know that this computer can hibernate. I have run rtcwake -m disk.

  • Make sure LidSwitchIgnoreInhibited=yes is not commented either. – don_crissti Mar 14 '16 at 20:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.