Shutdown on power button

Lukáš Tinkl ltinkl at
Wed Jun 13 16:39:48 UTC 2012

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:
> One solution
> ( 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 <ltinkl at>
Software Engineer - Base Operating Systems Brno
KDE developer <lukas at>
Red Hat Inc.                     

More information about the kde mailing list