Comment 22 for bug 281284

Revision history for this message
Tillmann Falck (tfalck) wrote :

Putting the attached script in .kde/Autostart (or just running it manually) activates most of the missing hotkeys on my thinkpad. In particular it supports

* lock screen
* suspend
* hibernate
* toggle screen
* undock
* battery information

I have used the script for a month now and for me it works. It should not be limited to thinkpads but support all laptops that generate the corresponding key press events. Most functionality is accessed via dbus either using HAL or KDE services.

It depends on python2.6 (could be easily backported to 2.5), python-dbus and python-xlib.