system goes to sleep after locking screen and closing lid

Bug #1797079 reported by ronso0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-power-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Reproduce:
* open Power Manager
* General > Laptop Lid > switch off display
* System > Sleep mode: suspend, When inactive for: never
* Display > disable all actions
 (state of On/Off switch at the top doesn't matter)
* lock screen (screen turns off)
* close lid
= system goes to sleep

System shouldn't do anyting, the screen is already off after locking it.

Ubuntu Studio 18.04.1 LTS
xfce4 4.12
xfce4-power-manager 1.6.1-0ubuntu1

maybe related:
#1307545 (14.04 LTS)
#1730107 (17.10)

ronso0 (ronso0)
description: updated
Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Adding "HandleLidSwitch=ignore" to /etc/systemd/logind.conf does not help?

When you manually lock the screen with light-locker it will switch to another VT, and therefore not let xfce4-power-manager handle the lid close event anymore (systemd is in charge now).

Revision history for this message
ronso0 (ronso0) wrote :

"HandleLidSwitch=ignore" in /etc/systemd/logind.conf solves the issue.
Tried that before, but appearantly a restart was necessary.

Revision history for this message
ronso0 (ronso0) wrote :

FYI: Directly after locking, I can see a (VT) cursor blinking once, then I see the mouse pointer again on a blank scrren for a glimpse, then the screen goes off.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Sadly, there are no plans to change how light-locker works, so this will remain a known limitation.

The Xubuntu devs are currently creating a screen locker for the Xfce project (xfce4-screensaver). It will not rely on VT switching while still offering a nice look and feel. Future Xubuntu and Ubuntu Studio releases will most likely use this new locker instead.

Changed in xfce4-power-manager (Ubuntu):
status: New → Invalid
Revision history for this message
ronso0 (ronso0) wrote :

ok, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.