Bug 169476
Summary: | Leave power buttons to gnome-power-manager | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthias Clasen <mclasen> |
Component: | acpid | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | aleksey, bart.vanbrabant, bjohnson, gaborl, lsatenstein, matthias, renato.ramonda, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | FC6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-16 08:58:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150221 |
Description
Matthias Clasen
2005-09-28 17:26:20 UTC
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 kde desktops? -jef 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. Horrah!! |