Created attachment 6136 Log file Summary: As of the recent git work in xfce4-power-manager (GTK3, upower, GDBus), the systemd inhibit mechanism seems broken. Running the power-manager in --nodaemon --debug mode, I get this snippet: (xfce4-power-manager:16080): xfce4-power-manager-WARNING **: Unable to inhibit systemd sleep: Method 'Inhibit' returned type '(h)', but expected '()' Observations: When closing the laptop lid, the system goes to sleep. Upon resuming from sleep, I sometimes get a double-suspend event (system goes back to sleep) or I get a notification bubble with the following message: "Power Manager Notification GDBus.Error:org.freedesktop.login1.OperationInProgress: There's already a shutdown or sleep operation in progress." Reverting back to 1.4.4 resolves the issue. Complete log file attached.
The system is Arch Linux and I'm using the default logind.conf file: [Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate #HandleLidSwitch=suspend #HandleLidSwitchDocked=ignore #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no #LidSwitchIgnoreInhibited=yes #IdleAction=ignore #IdleActionSec=30min #RuntimeDirectorySize=10% #RemoveIPC=yes
Created attachment 6163 Fix logind inhibit (Bug #11767) ToZ, This should fix the issue, can you test it out? Thanks!
Thanks again Eric, this fix has made it work again.
I also noticed that bug and the patch resolved the problem for me as well so I pushed it to master in commit b7a731f71c545a039fbe762967cb57bebdc20863. Thanks for the fix, Eric! (If only all fixes could be so trivial :) )