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 756116 - Inhibit power keys while screen is locked
Inhibit power keys while screen is locked
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: lock-screen
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks: 755953
 
 
Reported: 2015-10-06 10:22 UTC by Phillip Wood
Modified: 2015-11-11 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Inhibit power keys while screen is locked (4.97 KB, patch)
2015-10-06 10:22 UTC, Phillip Wood
none Details | Review

Description Phillip Wood 2015-10-06 10:22:40 UTC
Doing this in the shell rather than gnome-settings-daemon simplifies
things for users that want to customize power key actions - see bug
755953
Comment 1 Phillip Wood 2015-10-06 10:22:45 UTC
Created attachment 312718 [details] [review]
Inhibit power keys while screen is locked

This stops someone turning the computer off with the keyboard while
the screen is locked. gnome-settings-daemon used to take care of this
but to do so it overrode the default system actions of the power
keys. Inhibiting them in the shell means gnome-settings-daemon no
longer has to override the default system actions for the power keys,
making it easier for users to customize those actions.

https://bugzilla.gnome.org/show_bug.cgi?id=755953
Comment 2 Phillip Wood 2015-11-11 12:18:47 UTC
This isn't needed as gnome-settings-daemon has fixed the problem in a different way