No matter how I configure xfce4 power manager lid close on battery/ac events, the ones configured in logind.conf win.
If I set logind to ignore all lid events, nothing really happens, so that logind again wins (the ignore settings take precedence over xfce4 power manager).
This is the ignore logind config:
The LidSwitchIgnoreInhibited flag seems to be irrelevant, since both values result in the same behavior.
This is my power manager config:
~:: xfconf-query -c xfce4-power-manager -vl
Btw, I tested this with mate-power-manager and it works straight out of the box, without even changing the default logind settings.
I assume that /xfce4-power-manager/logind-handle-lid-switch needs to be set to 'false'.
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -s false
*** This bug has been marked as a duplicate of bug 15300 ***