Bug 1033997

Summary: need command line equivalent to gnome-screensaver-command
Product: [Fedora] Fedora Reporter: Jason Haar <jhaar>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: fmuellner, jkoten, otaylor, samkraju, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-28 00:16:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason Haar 2013-11-25 02:19:02 UTC
Description of problem:

older releases of Gnome used gnome-screensaver and had gnome-screensaver-command for locking from the command line (or scripts). Now with F20, I cannot see any equivalent command?

Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Florian Müllner 2013-11-26 13:55:12 UTC
gnome-screensaver is no longer a required component, but the gnome-screensaver-command it provides can still be used to request screen locking.
Alternatively you can use something like "loginctl -P lock-sessions" to talk directly to systemd.

Comment 2 Jason Haar 2014-03-28 00:16:31 UTC
OK thanks. However, you have to re-enter your password to trigger the screen lock. If you use '--no-ask-password' then you get access denied - not really scriptable

You are correct about gnome-screensaver-command - that works perfectly. 

Thanks!

Comment 3 Jason Haar 2014-03-28 00:16:57 UTC
whoops - closing