After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692282 - blank/lock on lid close if suspend is inhibited
blank/lock on lid close if suspend is inhibited
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
: 676455 (view as bug list)
Depends on: 691202
Blocks:
 
 
Reported: 2013-01-22 11:51 UTC by Matthias Clasen
Modified: 2013-01-23 18:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
power: Lock or blank on lid close if necessary (3.07 KB, patch)
2013-01-22 22:51 UTC, Bastien Nocera
none Details | Review
power: Lock or blank on lid close if necessary (2.69 KB, patch)
2013-01-23 17:49 UTC, Bastien Nocera
committed Details | Review

Description Matthias Clasen 2013-01-22 11:51:10 UTC
We tell people nowadays that we are strict about suspend on lid close, and if they don't like that, they can inhibit lid-close in logind. They usually come back with 'but I still need my screen to blank and lock'. I think we should probably handle this - if suspend doesn't happen because it it is inhibited, we should turn off the screen and lock it.
Comment 1 Bastien Nocera 2013-01-22 22:51:48 UTC
Created attachment 234151 [details] [review]
power: Lock or blank on lid close if necessary
Comment 2 Bastien Nocera 2013-01-22 22:53:15 UTC
Probably broken still, need to write some tests first.

See also bug 686823, bug 676455,
Comment 3 Bastien Nocera 2013-01-23 17:49:56 UTC
Created attachment 234232 [details] [review]
power: Lock or blank on lid close if necessary
Comment 4 Bastien Nocera 2013-01-23 18:22:22 UTC
Attachment 234232 [details] pushed as a1489eb - power: Lock or blank on lid close if necessary
Comment 5 Bastien Nocera 2013-01-23 18:28:32 UTC
*** Bug 676455 has been marked as a duplicate of this bug. ***