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?) Cheers, -- Yves-Alexis -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

