Shutdown on power button
ltinkl at redhat.com
Wed Jun 13 16:39:48 UTC 2012
Dne 13.6.2012 16:37, Sonic napsal(a):
> 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
> (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?
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 redhat.com>
Software Engineer - Base Operating Systems Brno
KDE developer <lukas at kde.org>
Red Hat Inc. http://cz.redhat.com
More information about the kde