Description of problem: On my laptop, despite the settings of XFCE Power Manager (where I set 'ask' when power button is pressed), when I`m pressing the power button, the system turns off. Additional info: I was told that the solution is here: http://wiki.xfce.org/tips#handle_acpi_event_for_power_button_show_xfce_logout_options Why isn`t that included in Fedora by default?
Hum. It used to just work out of the box here on all my hardware. I can see it doesn't work right in f16 here. Will test on f15 hardware. When you press the power button do you hold it down for 5 seconds? Or just press quickly once?
I just press quickly once. I tried to change the settings in xfce power manager but in vain.
(In reply to comment #0) > Description of problem: > > On my laptop, despite the settings of XFCE Power Manager (where I set 'ask' > when power button is pressed), when I`m pressing the power button, the system > turns off. Please give us a little more background info: - What kind of laptop is this? - Is there another power manager running? Please give us the output of 'ps -A | grep power' - What is the output of ' xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/power-button-action' - Can you reproduce the problem at the login manager? - Can you reproduce the problem with another user? - Can you reproduce it with the Xfce live CD? > I was told that the solution is here: > http://wiki.xfce.org/tips#handle_acpi_event_for_power_button_show_xfce_logout_options > > Why isn`t that included in Fedora by default? Because it doesn't really work properly: - It doesn't work with multiple users logged in - It requires acpid to be installed but we don't install it by default - It cannot be configured graphically - It won't fix your problem, this is for systems without xfce4-power-manager that downt turn off otherwise.
ps -A | grep power 1066 ? 00:00:00 upowerd 1314 ? 00:00:00 xfce4-power-man xfconf-query -c xfce4-power-manager -p xfce4-power-manager/power-button-action gives 3
I can reproduce this behaviour with another user account and at the login manager. I don`t have XFCE LiveCD. My laptop is a typical Asus A9RP.
(In reply to comment #4) > ps -A | grep power > 1066 ? 00:00:00 upowerd > 1314 ? 00:00:00 xfce4-power-man just like it should be > xfconf-query -c xfce4-power-manager -p xfce4-power-manager/power-button-action > gives 3 again, just like it should be. (In reply to comment #5) > I can reproduce this behaviour with another user account and at the login > manager. OK, in this case it's no Xfce problem, because Xfce is not even loaded. gnome-power-manager is not installed, so the culprit must be udev/upower. Reassigning.
I just tested Fedora 16 Beta and it still doesn`t work.
could this be related to https://bugzilla.redhat.com/show_bug.cgi?id=722325?
d'Armany, you are probably right.
Just installed Fedora 17 and still after I press power button, the system shuts down without asking
Hi When I initially installed F17 with XFCE, hitting the power button would shutdown. Some where along the lines of applying updates, the power button no longer shuts down my laptop which is a Lenovo Thinkpad E525. All update are currently installed. The following command returns 4: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/power-button-action I have "When power button is pressed: Shutdown" selected within the Power Manager settings. Any ideas? Many thanks.
What happens when you hit the power button?
Hi, nothing at all happens when I hit the power button. Kind Regards
Could you provide the info christoph asked for in comment 3? Might help us isolate it.
hi from comment 3 Please give us a little more background info: - What kind of laptop is this? Lenovo ThinkPad E525 - Is there another power manager running? Please give us the output of 'ps -A | grep power' ps -A | grep power 1097 ? 00:00:00 upowerd 1327 ? 00:00:00 xfce4-power-man 1341 ? 00:00:00 xfce4-power-man - What is the output of ' xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/power-button-action' 4 - Can you reproduce the problem at the login manager? from the login manager, hitting the power button causes the laptop to shutdown. - Can you reproduce the problem with another user? I created a new user called fred, and all works OK The problem exists while logged in as user root - Can you reproduce it with the Xfce live CD? i don't have the CD to hand atm. many thanks
Can you stop xfce4-power-manager and run it in a terminal with: xfce4-power-manager --debug --no-daemon >& xfce4-power-manager.log and press the power button and attach the log?
Created attachment 663094 [details] xfce4-power-manager.log As requested, I have attached xfce4-power-manager.log. While tail -f xfce4-power-manager.log, no info was appended to this log file when I hit the power button. Thanks.
Not sure, but could it be like in fedora 18 where logind actually handles these events? See bug 886569.
Seems to me this is the case: http://nottooamused.wordpress.com/2012/12/29/fedora-17-and-18-how-to-disable-auto-suspend-when-laptop-lid-is-closed/ I think this bug can be closed as notabug if somebody can confirm.
I was going by the '17' in this report... :) Is this indeed a Fedora 17 install? Then that doesn't explain it. If it's Fedora 18, then indeed it would.
Hi FYI, I applied recent updates for F17 and all works OK. I also installed F18 recently and all works OK with F18 too. Thanks
Great.