Saturday, October 13, 2012

ktouchpadenabler 0.1.1 released

What is ktouchpadenabler?

ktouchpadenabler is a kded daemon that listens to the XF86XK_TouchpadToggle/XF86XK_TouchpadOn/XF86XK_TouchpadOff key presses and toggles/enables/disables your touchpad accordingly.

What's the difference against 0.1.0?

The only difference is updated translations, the code is exactly the same. Thanks to the translation teams for their work :-)

You can find it at


csslayer said...

Thank you for your work!

Have you ever considered to change this little kded module to support all function key that qt current doesn't support yet?

Uomo Ragno said...

installed on ArchLinux (KDE 4.9.2). It seems it's working with no configuration (if I press the "disable touchpad key", the mouse disappears).

Does your application have a configuration dialog? I can't find in system settings.

Albert Astals Cid said...

@csslayer: No the code is explicitely target the usage it has right now

#Uomo Ragno: No, there's no need for a configuration dialog, all it does is do what the keys are supposed to do, what would you want to configure?

Uomo Ragno said...

@Albert: I thought that there's a settings to enable or disable ktouchpadenabler, for example :)

Albert Astals Cid said...

@Uomo Ragno: Why would you want to disable it? Anyway if you really want to do that there's a kded module configuration in systemsettings, look for kded in the systemsettings search bar and then it's under the service manager (or something like that, i'm translating back from catalan to english)

Christian A. Reiter said...

is there a (git?) repo somewhere?
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Christian A. Reiter said...

Oh, and did you think of integrating this into the kde systemsetting touchpad kpart?

Albert Astals Cid said...

@Christian A. Reiter the git repo is not that hard to find ;-)

That cmake_minimum_required is done by the find kde4 stuff, which kde4 are you using?

Again what would i integrate in that systemsettings thing?

Anonymous said...


don't know why this feature doesn't work anymore on my system (arch 64bit + kde 4.10.3), and touchpad stays disabled even after reboot.

KeyRelease event, serial 42, synthetic NO, window 0x1e00001,
root 0x91, subw 0x0, time 54782539, (724,-214), root:(782,376),
state 0x10, keycode 199 (keysym 0x1008ffa9, XF86TouchpadToggle), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

I'm pretty confident that the functionality of this daemon should be automatically called after mouse plug/unplug events too.


Albert Astals Cid said...

I don't discuss bugs with Anonymous people in a blogpost, if you want to report a bug please head to