GNOME Bugzilla – Bug 756116
Inhibit power keys while screen is locked
Last modified: 2015-11-11 12:18:47 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
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
This isn't needed as gnome-settings-daemon has fixed the problem in a different way