/etc/pm/sleep.d/* hooks are not being run when closing the lid.
For example, I just resumed my laptop and a script on
/etc/pm/sleep.d/
which just logs each time it gets called has not been called.
They seem to run when I select "suspend" from the menu.
1) can anyone else verify?
2) is this a bug? Or a feature?
It's this:
https://bugzilla.gnome.org/show_bug.cgi?id=690713
and this:
https://bugs.freedesktop.org/show_bug.cgi?id=58950
Probably not a bug from developer perspective. But the current situation is a mess,
that's true.