Comment 48 for bug 1222021

Revision history for this message
In , Mikhefr (mikhefr) wrote :

Created attachment 4929
Don-t-allow-systemd-to-handle-suspend-hibernate-even.patch

Here is patch for inhibiting systemd to handle power/suspend/hibernate buttons
and lid-switch while xfce4-power-manager is running. It works with both systemd and SysV init systems (if there is no systemd-logind then just do nothing).