The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,456     Votes:  2 
Tags: xubuntu   suspend   laptop   power-management   16.10  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/839876
Title: Xubuntu 16.10 won't wake up correctly after opening lid
ID: /2016/10/21/Xubuntu-16.10-won_t-wake-up-correctly-after-opening-lid
Created: October 21, 2016    Edited:  October 21, 2016
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


From your file /etc/systemd/logind.conf we see these lines:

#HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend

On the first line you need to remove the #, save the file and reboot.

You removed the # from the second line which suspends the laptop when it is docked ie. plugged into a docking station or when there is a secondary HDMI monitor / TV plugged in.

The first line controls suspending when the laptop is not docked.

For others reading this answer keep in mind from the Launcher select System Settings and click the Power applet and make sure it is also be configured like this:

Power Suspend

Notice the When lid is closed section. Have the options set to Suspend. If either these Power settings or systemd’s settings above are set to ignore then suspend will not occur.

Please note the systemd change above may not fix everything. It is one thing that needs to change.

⇧ I need some help understanding this bash script What is the "Dirty COW" bug, and how can I secure my system against it?  â‡©