[Pkg-xfce-devel] Bug#603325: Bug#603325: suspend and hibernate options disabled with no apparent recourse

Yves-Alexis Perez corsac at debian.org
Sat Nov 13 08:46:22 UTC 2010


On sam., 2010-11-13 at 01:34 +0100, Josip Rodin wrote:
> On Sat, Nov 13, 2010 at 12:52:40AM +0100, Yves-Alexis Perez wrote:
> > On sam., 2010-11-13 at 00:31 +0100, Josip Rodin wrote:
> > > 
> > > As the subject says, these two options are simply disabled on my laptop,
> > > which can actually hibernate just fine with 'sudo hibernate'.
> > 
> > Which has nothing to do with that, anyway. If you click on the ???logout???
> > button, are suspend/hibernate greyed too? What about shutdown/restart?
> 
> No, they aren't, but I haven't tested them lately...

Hmmh, it might be worth testing.
> 
> > > Googling indicates xfce4-power-manager might need something like policykit
> > > to figure this out, but this isn't properly expressed anywhere, neither on
> > > runtime (no explanatory or warning messages) nor in the package dependencies
> > > or documentation.
> > 
> > No, xfpm 0.8.5 only uses hal and not upower and consolekit/policykit,
> > iirc. Can you check everything is setup correctly as told
> > in /usr/share/doc/xfce4-session/README.Debian?
> 
> I start X using plain 'startx', and I have
> 
> % cat .xsession
> exec xfce4-session

Good.
> 
> According to that readme, which I had no tangible reason to check until you
> just told me :) this file is used:
> 
> % dpkg -S /etc/X11/Xsession.d/90consolekit
> consolekit: /etc/X11/Xsession.d/90consolekit
> 
> So I guess I do need that stuff.

Yeah.
> 
> I just logged out and restarted X, to make sure this got activated, and
> xfpm no longer disables the hibernate option. Yay.

It might be related to some upgrade (like dbus, or consolekit, or
something). It might be some other program which inhibits suspend too.
I'm not too sure how it works (I think it's a dbus message) but in some
cases a program can prevent the computer to suspend (I think vlc can do
that). But iirc xfpm will tell you that.

> I'll test it in a minute...

So what's the status?
> 
> > Is is consistent accross various sessions? Reboots?
> 
> Yes, the button stopped working after one semi-random squeeze upgrade...
> 
Ok. My guess goes to a consolekit/policykit/dbus/hal/... upgrade with
daemon restarts. But I'm a bit puzzled about why it was consistent
accross reboots and suddenly when logging out and logging back in it
works.

Cheers,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20101113/9bad92a9/attachment.pgp>


More information about the Pkg-xfce-devel mailing list