2

I press shutdown button and if the lid is closed before the shutdown process end, this one resumes after I reopen the lid

Braiam
  • 67,791
  • 32
  • 179
  • 269

1 Answers1

0

I had the exact same problem here on Ubuntu 13.10. I solved it by adding the line :

    HandleLidSwitch=lock

in the file /etc/systemd/logind.conf.

And then using this command to make the changes effective:

    sudo restart systemd-logind

I hope it solves your problem too. Have a nice day.

Elliot
  • 1
  • I'm having this exact problem, could you elaborate on what your suggested change does? It sounds like you replace Suspend behavior by lock behaviour? but wouldn't that prevent the laptop from suspending when you actually want it to suspend by closing the lid? – Minos Nov 11 '13 at 12:55