Screen locking fails on Suspend/Resume for laptop lid-switch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Session |
Confirmed
|
Medium
|
|||
xfce4-session (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using a pure install of the "xfce4" and "xfce4-
<property name="LockCommand" type="string" value="
This property is undiscoverable and not well documented, if at all.
There was a patch to add this property back in 2015 @ https:/
Manually adding this prpoerty is accomplished by the following command:
$xfconf-query -c xfce4-session -p /general/
Without this parameter and a named running screen locking daemon(XScreenSaver by default), the system will Suspend---but, not be locked upon Resume when triggered by a laptop lid-switch.
Please add or patch the Ubuntu version to provide this basic functionality as "systemd-
$ systemd-inhibit --list
Who: NetworkManager (UID 0/root, PID 936/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
Who: ModemManager (UID 0/root, PID 895/ModemManager)
What: sleep
Why: ModemManager needs to reset devices
Mode: delay
Who: UPower (UID 0/root, PID 1564/upowerd)
What: sleep
Why: Pause device polling
Mode: delay
Who: xfce4-power-manager (UID 1000/chris, PID 1614/xfce4-
What: handle-
Why: xfce4-power-manager handles these events
Mode: block
4 inhibitors listed.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xfce4-session 4.12.1-3ubuntu3
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Jul 26 16:00:40 2018
InstallationDate: Installed on 2018-06-23 (33 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xfce4-session
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in xfce4-session: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Xfce4-power-manager does not catch lid events.
acpi_listen does show lid events.
UPower does catch lid events.
Xfce4-power-manager --debug gives no output on lid events.
It has settings for lid events, but they are ignored as no event catched.
It does appropriate actions upon suspend and poweroff keys, but not lid.
What is wrong here?
Thanks in advance.