On 10/4/18 5:18 AM, Samuel Sieb wrote: > My laptop sometimes doesn't turn back on after suspending, so I've decided to try > using hybrid-sleep instead. I modified logind.conf to contain the following two > lines and restarted logind: > HandleSuspendKey=hybrid-sleep > HandlePowerKey=hybrid-sleep What do you get for.... cat /sys/power/state and cat /sys/power/disk Looking at https://www.kernel.org/doc/html/latest/admin-guide/pm/sleep-states.html ; seems to suggest that "suspend" is actually the same as hybrid-sleep. > > However, both keys still only cause a suspend. "systemctl hybrid-sleep" does work > properly. I was going to ask if Gnome was intercepting the keys and doing its own > thing with them, but then I remembered how to check. Sure enough, from > "systemd-inhibit": > Who: samuel (UID 1000/samuel, PID 1667/gsd-media-keys) > What: handle-power-key:handle-suspend-key:handle-hibernate-key > Why: GNOME handling keypresses > Mode: block > > Does anyone know how to change Gnome's handling of the suspend key? It used to be > possible, but they removed all those options. As much as I like Gnome, it does get > a bit frustrating how much they are making it "our way is the only way"... I have > filed a bug upstream: > https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/97 > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx -- Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell them, then tell them what you told them."
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx