Hi
I want KDE to handle the power button press event on my desktop. I have selected the appropriate option in System Settings > Power management > Button events handling > 'when power button is pressed'. But it doesn't seem to have any effect on my Fedora 17 x86_64 system. When I press the power button, the system immediately powers down. I don't think KDE isn't even involved in the process. I have not tried to do the experiment with any unsaved files open. But I have a feeling that I'll lose them.
Searching the internet, I found these reports for XFCE: http://forums.fedoraforum.org/showthread.php?t=280726 https://bugzilla.redhat.com/show_bug.cgi?id=746982
One solution (http://wiki.xfce.org/tips#handle_acpi_event_for_power_button_show_xfce_logou...) is to edit /etc/acpi/events/power_button and (apparently) set it have no action. I have not tried it though. Wanted to check if there's anything I'm missing.
Does anyone else have this problem?
regards,
Syam
On 06/13/2012 09:37 AM, Sonic wrote:
Hi
I want KDE to handle the power button press event on my desktop. I have selected the appropriate option in System Settings > Power management > Button events handling > 'when power button is pressed'. But it doesn't seem to have any effect on my Fedora 17 x86_64 system. When I press the power button, the system immediately powers down. I don't think KDE isn't even involved in the process. I have not tried to do the experiment with any unsaved files open. But I have a feeling that I'll lose them.
I believe acpid is getting in the way.
try:
rpm -e acpid
and reboot, and see if the problem persists or not. If not, you're likely seeing: https://bugzilla.redhat.com/show_bug.cgi?id=819559
(I might have to flex some provenpackager muscle there if the maintainer doesn't act soon)
-- rex
On 06/13/2012 09:04 PM, Rex Dieter wrote:
On 06/13/2012 09:37 AM, Sonic wrote:
Hi
I want KDE to handle the power button press event on my desktop. I have selected the appropriate option in System Settings > Power management > Button events handling > 'when power button is pressed'. But it doesn't seem to have any effect on my Fedora 17 x86_64 system. When I press the power button, the system immediately powers down. I don't think KDE isn't even involved in the process. I have not tried to do the experiment with any unsaved files open. But I have a feeling that I'll lose them.
I believe acpid is getting in the way.
try:
rpm -e acpid
and reboot, and see if the problem persists or not. If not, you're likely seeing: https://bugzilla.redhat.com/show_bug.cgi?id=819559
(I might have to flex some provenpackager muscle there if the maintainer doesn't act soon)
Yes! That seems to the problem indeed. Thanks a ton for the good work.
regards,
Syam
Dne 13.6.2012 16:37, Sonic napsal(a):
Hi
I want KDE to handle the power button press event on my desktop. I have selected the appropriate option in System Settings > Power management > Button events handling > 'when power button is pressed'. But it doesn't seem to have any effect on my Fedora 17 x86_64 system. When I press the power button, the system immediately powers down. I don't think KDE isn't even involved in the process. I have not tried to do the experiment with any unsaved files open. But I have a feeling that I'll lose them.
Searching the internet, I found these reports for XFCE: http://forums.fedoraforum.org/showthread.php?t=280726 https://bugzilla.redhat.com/show_bug.cgi?id=746982
One solution (http://wiki.xfce.org/tips#handle_acpi_event_for_power_button_show_xfce_logou...) is to edit /etc/acpi/events/power_button and (apparently) set it have no action. I have not tried it though. Wanted to check if there's anything I'm missing.
Does anyone else have this problem?
regards,
KDE's powermanagement unfortunately doesn't handle the power button, simply because (with the dropping of HAL) upower doesn't expose this funtionality.
Lukáš Tinkl wrote:
KDE's powermanagement unfortunately doesn't handle the power button, simply because (with the dropping of HAL) upower doesn't expose this funtionality.
Uh, actually this works fine in Fedora 15 (and 16, I presume), it's just in Fedora 17 that acpid gets in the way because of the broken script Rex Dieter pointed out (https://bugzilla.redhat.com/show_bug.cgi?id=819559).
Kevin Kofler