1

I have Ubuntu 18.04 installed on my Lenovo Thinkpad L560. When I close the lid nothing happens. I want the system to suspend. The settings for this are turned on. So when I close my lid and reopen it nothing has happened. I'm not logged out or anything.

Can you help me?

abu_bua
  • 11,313
oliver
  • 11

1 Answers1

1

These instructions follows this tips page:

Enable automatic shutdown, hibernate, or do nothing when laptop lid is closed.

  1. Edit the logind.conf file

    sudo gedit /etc/systemd/logind.conf
    
  2. Uncomment the following line (delete the # character):

    #HandleLidSwitch=suspend
    

    to

    HandleLidSwitch=suspend 
    
  3. Save the file and finally restart the systemd service:

    sudo systemctl restart systemd-logind.service
    
abu_bua
  • 11,313