Shutdown on power button

Sonic get.sonic at gmail.com
Wed Jun 13 14:37:12 UTC 2012


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_logout_options) 
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



More information about the kde mailing list