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

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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to