mate-desktop/mate-power-manager — pull request #37 by Firstyear (2012-11-20 22:48:29+00:00)
Title: Systemd inhibit support for MPM

This pull enables systemd-inihibt support. For the moment, we disable and inhibit all actions regarding special keys, and allow shutdown, suspend and restart to still be initiated from systemd. For example, closing a laptop lid will now suspend only once, as the keyswitch action is blocked from systemd.

This patch is largely untested at this time, and relies heavily on systemd to respect our request. Initial tests of power button actions and the like show correct behaviour. I will test this more over the coming few days, but it would be good for others to test it also.