XScreenSaver doesn't lock screen on suspend

Bug #1382775 reported by Giulio De Pasquale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xscreensaver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

XScreenSaver does not lock screen on suspend even with gnome-screensaver removed. With the standard "CTRL-ALT-L" shortcut the screen is NOT locked with xscreensaver; this is solved by setting that shortcut to 'xscreensaver-command -lock'.
Even with these "workarounds" the screen is locked using Ubuntu's standard lock screen and not with xscreensaver's one.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xscreensaver 5.15-3ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Oct 18 12:03:02 2014
ProcEnviron:
 LANGUAGE=it
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: xscreensaver
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Giulio De Pasquale (depasquale-giulio) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Does running "sleep 2; xscreensaver-command -lock" give you the xscreensaver lock screen?

Changed in xscreensaver (Ubuntu):
status: New → Incomplete
Revision history for this message
Giulio De Pasquale (depasquale-giulio) wrote :

I added "sleep 2; xscreensaver-command -lock" in the shortcut but that doesn't change anything. Even without sleeping the shortcut worked. When I close the lid of my laptop (a Lenovo x230) I get the default Unity lock screen and when the time set in xscreensaver settings expires, I even have to unlock my desktop twice. I just want the xscreensaver one.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I wanted you to run "sleep 2; xscreensaver-command -lock" on the command line in a terminal window. The sleep is there only to not trigger anything when you release the Enter key.

If you are using Unity you cannot expect xscreensaver to work. Unity has explicitly been made to only use its own screen lock functionality and to not be compatible with other general screensaver daemons. You must ask the Unity developers or switch to another desktop environment. I can recommend LDXE (Lubuntu).

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xscreensaver (Ubuntu) because there has been no activity for 60 days.]

Changed in xscreensaver (Ubuntu):
status: Incomplete → Expired
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.