allow to use default systemd action for power button press, or add hybrid sleep to the drop-down list
Submitted by Kamil Páral
Link to original bug (#772569)
Description
I'd like my desktop PC to do hybrid sleep when I press the power button. Currently it seems this is impossible to achieve in GNOME. Even though I can configure "HandlePowerKey" in /etc/systemd/logind.conf, it does not have any effect, because GNOME seems to override handling of that event. The configuration is in gnome-tweak-tool -> Power -> When Power Button is pressed, and there's only "suspend", "hibernate" and "nothing".
Please either: a) add hybrid sleep to the drop-down list or: b) add something like "use default system action" item, which will make GNOME not consume those events and instead let systemd handle them
Or, of course, adding both would be the best.
Thanks a lot.
gnome-tweak-tool-3.22.0-1.fc25.noarch