[Pkg-xfce-devel] Bug#542238: Bug#542238: xfce4-power-manager: ignores suspend and hibernate keys

Matthew Foulkes wmc.foulkes at imperial.ac.uk
Wed Aug 19 15:40:08 UTC 2009

On Wed, Aug 19, 2009 at 04:19:05PM +0100, Yves-Alexis Perez wrote:
> On mer, 2009-08-19 at 16:19 +0100, Matthew Foulkes wrote:
> > Pulling out the power cable makes no difference. xfpm notices that the
> > computer is on battery, but Fn-F4 still does nothing. Mystifying. One
> > possible difference is that "input-events" is running as root. Could it
> > be a permissions issue? I am a member of the powerdev group and have
> > just added myself to the polkituser group, but with no effect.
> I don't think so. I mean, in that case if wouldn't work when you select
> “Suspend” in xfpm tray icon menu. Make sure that, when running
> input-events, it's xfpm which receive the event and put the laptop in
> suspend to ram (it should be noted in the debug log).
> Maybe check with polkit-auth and ck-list-sessions just to be sure you
> have the rights to do what you want but I don't think it's the problem.
> I really think xfpm is not receiving the key press in the general case,
> and fail to understand why it does when input-events is running (unless,
> maybe something else usualy grabs the input device and prevents that? Do
> you use something else like tpb?)

I don't use tpb. Since running input-events no longer makes any
difference, I cannot test whether it was really xfpm that put the laptop
to sleep those two times. Sorry.

                   Matthew Foulkes

 Department of Physics    phone: (020) 7594 7607
 Imperial College London  fax:   (020) 7594 7604
 South Kensington Campus  email: wmc.foulkes at imperial.ac.uk
 London SW7 2AZ           www:   www.imperial.ac.uk/research/cmth

More information about the Pkg-xfce-devel mailing list