gnome-power-manager started by gdm3?

Christoph Anton Mitterer calestyo at
Mon Nov 29 10:40:09 UTC 2010

On Mon, 2010-11-29 at 11:09 +0100, Michael Meskes wrote:
> > I also agree with the reporter: checking for running power managers is
> > just a hack, and you should use ConsoleKit instead. But this won’t solve
> I don't see how this could be a hack. The script is not trying to findout if
> somebody is logged in, it couldn't care less. All it needs to fnd out is
> whether some other software is running that is supposed to handle the power
> button and if so don't react on it itself. If somebody is loggedinto X but not
> running a power manager the acpi-support script is supposed to take action on
> pressing the power button.

But this (knowing whether somebody's logged) in is what we should
actually want to know.
Just checking for some running process is extremely error prone (program
not installed, disabled by user, process died for other reasons, etc.

I agree with Josseling that ConsoleKit is the way to go, which does not
mean that you have to implement it. But IMHO it's better to leave this
open and wait until someone has time, than to hack a fix, just to get it

Best wishes,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5677 bytes
Desc: not available
URL: <>

More information about the pkg-gnome-maintainers mailing list