xfce4-power-manager-1.4.4 has been removed from the Portage tree, so everyone should have -1.5.0+. This forces everyone to switch from upower-pm-utils to upower. As a consequence, Suspend/Hibernate through xfce4-session breaks (test with xfce4-session-logout --suspend)
To fix this, a newer version of xfce4-session is necessary, one that at least includes this and related commits: https://git.xfce.org/xfce/xfce4-session/commit/?id=6c22291566f055d7da3f72708a20bb13e49c0028
At the same time, the upower useflag can be dropped.
Also see https://forums.gentoo.org/viewtopic-p-7961748.html
Could you elaborate a bit on what this patch does? It seems to remove stuff, so it's weird for a fix. Does this code prevent suspend/hibernate from working?
Sorry, I posted the wrong link. But it's from the same branch ("Merge gtk3 and gdbus changes to master")
To elaborate, it's should be these commits:
Looks like I'm going to wait for a release then ;-D.
I would agree, if it wasn't for the fact that right now the Suspend/Hibernate buttons on the logout dialog are broken for everyone :(
what versions of xfce4-power-manager, consolekit, pm-utils, upower, upower-pmutils, xfce4-session do you have installed?
Suspend worked for me last I checked with the latest versions, will double check in a bit.
(In reply to Jason Zaman from comment #5)
> what versions of xfce4-power-manager, consolekit, pm-utils, upower,
> upower-pmutils, xfce4-session do you have installed?
> Suspend worked for me last I checked with the latest versions, will double
> check in a bit.
xfce-base/xfce4-session-9999 (from xfce-dev, this one works)
sys-power/upower-pm-utils not installed
xfce4-power-manager-1.4.4 used to work with upower-pm-utils, xfce4-power-manager-1.5.0 requires plain upower, which broke xfce4-session for me.
Remember to log out and back in when testing a new version of xfce4-session.
(In reply to haarp from comment #6)
I have consolekit-9999
> xfce-base/xfce4-session-9999 (from xfce-dev, this one works)
I have xfce-base/xfce4-session-4.12.1-r1
> sys-power/upower-pm-utils not installed
The other packages are all the same as yours and suspend works fine for me. I don't have hibernate at all so cant test that but should be the same as suspend.
Looking through those commits you linked they are mostly about updating to a new dbus library but the calls themselves are about the same. one of the later ones drops upower completely too so I don't see how that would help. suspending is supposed to go through consolekit2 which calls the right things so xfce4-session isn't that important.
What does ck-list-sessions show for you when logged in to xfce?