Created attachment 5648
xfce4-power-manager debug output
Commit 03193df6cad651841e8d9960335b4a3bf13afdad (Fix logic of xfconf logind inhibition keys) has broken suspend on lid close on my laptop.
Xfce Power Manager 1.3.2git-9c737fd (built from git)
Running on Arch Linux
System recognizes lid actions, but no suspend on lid close. Suspending manually or from menu, works. Adding the new "logind-handle-lid-switch" xfconf key and setting it "False" results in double-suspend actions.
Reverting the above commit returns to successful lid close suspend functionality.
Attached is output from running xfce4-power-manager with --debug parameter.
I too have this, on debian/testing. It seems the change in logic is incomplete. It's fixed for me with this patch to xfpm-manager.c:
@@ -335,7 +335,7 @@
- if (!logind_handle_lid_switch)
+ if (logind_handle_lid_switch)
Created attachment 5649
Fix handle lid switch
I wish I got bug emails for xfpm. Sorry I missed the bug report prior to release. Somehow I missed it when I looked this morning.
I turned Simon P's change into a patch, can you verify it works ToZ? Thanks for finding what looks like the fix Simon :)
I can confirm that this patch fixes the problem.
Eric, if I find anymore power-manager bugs, I'll try to remember to copy you on them.
Thanks for testing ToZ. I'll poke Nick about setting up bugzilla to annoy Simon, Harald, and myself (and anyone else interested) when Nick is around again.
Pushed to master in:
Author: Eric Koegel <email@example.com>
Date: Mon Sep 15 14:35:00 2014 +0300
Fix handle lid switch with loginD (Bug 11160)
The xfconf settings logic for logind interactions were inverted
in commit: 03193df6cad651841e8d9960335b4a3bf13afdad
However the handle lid switch in the xfpm_manager_lid_changed_cb
also needs to be inverted. This patch fixes it. Patch submitted
by Simon P.