Version: (using KDE 4.1.0) Installed from: Unlisted Binary Package OS: Linux Hi, I want to set my power button to shut down the system. I mapped it through acpi and xmodmap to X keycode XF86PowerOff (this is what xev is telling me when i press it). However, i can't set it as keyboard shortcut. I tried it in System Settings -> Keyboard and Mouse -> Keyboard Shortcuts -> Run Command Interface -> Halt Without Confirmation, but it seems that the keyboard-shortcut widget doesn't detect the key press. I tried it also in other applications (kate, dolphin) to verify this is global KDE problem and indeed it is. I then tried it in amarok (which is still from kde 3.x) but there it works as expected. Some of the special keys (XF86AudioLowerVolumne, XF86AudioRaiseVolume, ...) work, but XF86PowerOff (and possibly others) does not.
*** Bug 168164 has been marked as a duplicate of this bug. ***
This could be caused by this Qt bug: http://trolltech.com/developer/task-tracker/index_html?method=entry&id=191318
Possibly... I can confirm in my laptop that XF86WWW doesn't work (as the qt bug says) and it doesn't work neither with kde4 nor with kde3 applications. It works though in xev and in gtk apps. I also tried the code in that qt bug and I can confirm that XF86WWW doesn't even work with pure qt4 applications.
with KDE 4.2 RC1 (4.1.96) (with libqt4-4.4.3) build by openSuse an error message appears when I try to assign the key shortcut of key XF86PowerDown (shown correct with 'xev'): "Die gerade gedrückte Taste wird von QT nicht unterstützt." (= The pressed key is not supported by QT.)
Assigning to Michael Jansen on his request.
Fixed with commit 1060011 . Will be part of kde 4.4.