Red Hat Bugzilla – Bug 169476
Leave power buttons to gnome-power-manager
Last modified: 2015-03-04 20:15:11 EST
With gnome-power-manager in rawhide, we have a conflict over who handles
the power button.
what do we need the acpid daemon for? for me the only thing it only did was
watch the power button..
With regard to pmud, acpid and apmd, they can all be removed (to extras?) for
FC5 in my opinion. HAL handles most stuff now and is a better solution than the
arch specific hacks and scripts that those legacy daemons are.
gnome-power-manager is going to be running all the time even for people running
The sample config file /etc/acpi/events/sample.conf really shouldn't handle the
shutdown when gnome-power-manager is running. Because it's really confusing now.
You get the gnome-shutdown dialog when pressing the powerbutton but before you
can press a button you're system goes down because of the acpid action.
I'll be looking into that. Maybe making the script there a little more
intelligent and checking wether X11 and/or gnome-power-manager is running before
doing any actions might work, but need to test this out myself first.
Read ya, Phil
*** Bug 111958 has been marked as a duplicate of this bug. ***
This is still a problem in fc5. Shouldn't the sample script be disabled. After
all it is a *sample*.
And still in FC development (pre FC6). I ran into that problem too :
- Press the power button in GNOME
- See the shutdown dialog box appear... for about 1 second
- See the computer shut down...
As Simon just wrote : Why not just comment out the two lines from sample.conf?
Who really expects to install acpid and use only the power button? Until really
useful defaults are in place (see #81142), it would be worth simply disabling
this (now) conflicting behavior.
I'd like to second the motion for the sample.conf to be commented out: I ran in
the usual problem with my new laptop.
I press the power button, see for half a second the end session dialog, and the
machine starts to power down.
The postinstall script of gnome-power-manager could actually comment those lines
out, and upon uninstall maybe re-decomment them.
Or simply put them in, but commented by default.
I am running FC6 Xen and my grandson touched the front power button (desktop pc)
instead of the button for the dvd drive.
Power manager setting is set to ASK, on button depress, but the system shut down,
There needs to be either a built-in delay or to fix the gnome intercept to ask
for action to take. (shutdown or sleep)
FC6 should contain the power.conf script that checks if there is a
gnome-power-manager running and if it does leaves it up to gnome-power-manager
to do the work.
Tried and tested it on a fresh FC6 and FC-devel here.
Read ya, Phil
FC7 appears to have the right kind of fix for the desktop pc.
It presents a popup screen with options.