You are not logged in.
Pages: 1
Topic closed
Computer: Lenovo G570 Laptop
Distro: Xubuntu 14.04 LTS
I'm having problems with closing the lid on my laptop.
I don't want anything to happen when I close the lid. (Other than shutting off the screen obviously.)
So the first thing I did was open Power Manager and set the "When laptop lid is closed:" option to "Nothing" for both "On AC" and "On Battery."
I close the lid and it suspends. When I open the lid, it asks for my username and password. After I enter them, the system resumes, but the screen goes black.
So I opened Light Locker Settings and set "Lock on suspend" to OFF.
It still suspends when closing the lid. Upon resuming, it asks for my login info, and after I enter them, black screen. No change.
So the next thing I did was:
$ sudo aptitude purge light-locker light-locker-settings
Now it doesn't ask me to log in again after closing the lid, so I don't get a black screen after opening the lid back up. However it's still suspending when I close the lid.
The next thing I tried was editing /etc/systemd/logind.conf and changing
#HandleLidSwitch=suspend
to
HandleLidSwitch=ignore
No change. It still suspends when I close the lid. I'm all out of ideas, and searching hasn't turned up anything I haven't already tried. How can I stop it from suspending when I close the lid?
Offline
It's working now. Apparently I just needed to reboot... duh.
Offline
Thanks SlickStretch for pointing me to systemd (the giant octopus)
I changed the following values in /etc/systemd/logind.conf
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
Then for the following to be taken into account without reboot:
systemctl daemon-reload
Then all my settings in xfce power manager are taken into account.
Does xfce power manager should deal with systemd when running on a systemd-os ? Or at least read/display systemd settings to help understand the behavior ?
Offline
Thanks SlickStretch for pointing me to systemd
You're welcome.
Does xfce power manager should deal with systemd when running on a systemd-os ? Or at least read/display systemd settings to help understand the behavior ?
Sorry man, I haven't used this OS in years. You should prolly ask in a new thread.
Offline
@JRD, see: https://bugzilla.xfce.org/show_bug.cgi?id=15300.
Closing this old thread. If you wish to discuss further, please create a new thread.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
Topic closed
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 534.81 KiB (Peak: 535.66 KiB) ]