xdg-screensaver doesn't lock screen with light-locker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
light-locker (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
xdg-utils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When a screen-locking method is available, 'xdg-screensaver lock' should always lock the screen.
Steps to reproduce:
On a fresh installation of Lubuntu 14.04, run:
$ xdg-screensaver lock
Expected:
[screen locks]
Actual:
ERROR: Unknown command 'lock'
However, it is possible to lock the screen via:
$ light-locker-
The xdg-screensaver script uses one of several external utilities, depending on the desktop environment. It falls through to screensaver_
This is a problem because xfce4-power-manager (part of lubuntu-desktop) uses xdg-screensaver to lock the screen on suspend under Lubuntu, but this has no effect. This may represent a security risk as a computer configured to (and reasonably assumed to) lock on suspend will actually resume straight to the desktop.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xdg-utils 1.1.0~rc1-
ProcVersionSign
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CurrentDesktop: LXDE
Date: Fri Sep 5 18:55:04 2014
InstallationDate: Installed on 2014-08-31 (5 days ago)
InstallationMedia: Lubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitec
SourcePackage: xdg-utils
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in light-locker (Ubuntu): | |
status: | Fix Committed → Fix Released |
Starting with version 1.5.0 and up, light-locker can be controlled via org.freedesktop .ScreenSaver DBus calls. This makes it compatible with xdg-screensaver.
https:/ /github. com/the- cavalry/ light-locker/ commit/ dfcfc9834241225 c4bd9fccc9a7771 4a183b805c