On Mon, Feb 10, 2020 at 4:51 PM Michael Catanzaro <mcatanzaro(a)gnome.org>
wrote:
Seems like case in point for why we do not (and should not) support
hibernation.
If "not support" means not enabling it out of the box and/or not creating a
swap partition, that's fine by me. I'd be a sad panda if you introduced
roadblocks that would prevent hibernation and required heavily patching
GNOME to enable it, though. As I mentioned in the other thread, suspend to
RAM doesn't work for me, so I rely on hibernation pretty heavily. I found
one of the mentioned roadblocks some time ago, when I wanted to enable
hybrid sleep on one of my other machines. It can be easily configured
through logind, but gnome-settings-daemon overrides the power button event
and only offers a limited selection of actions (hybrid sleep not being one
of them). It also doesn't offer "don't consume the event, ignore it"
action. So even though I can easily trigger hybrid sleep from command line,
I can't trigger it when pressing the power button or perhaps closing the
lid. That's fine for me (although inconvenient), but not fine for my
parents. Of course I reported this against gsd, but nothing happened. So
when you make changes, just please think about people who might want to
enable hibernation or some other action for some reason, and don't
completely lock them out (add a gsettings option or something). Thanks.