kcm_touchpad

System Software

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

14
Score 67.1%
Description:

Synaptics driver based touchpads kcontrol module.

This is configuration control panel module for synaptics-driven touchpads.
Based on ksynaptics by Stefan Kombrink (qsynaptics.sourceforge.net). Thank you Stefan.

Since version 0.2.0 doesn't require libsynaptics, but is Xinput-based.

Tested on:
Kubuntu 9.04

Fork me on github:
http://github.com/mishaaq/kcm_touchpad
Last changelog:

9 years ago

2010-01-12 (0.3.1) Michał Żarłok:
* fixed setting of sensitivity parameters (patch by Andrey Borzenkov)
* added german translation (by Volker Härtel)
* fixed settings of coasting speed on startup (patch by Andrey Borzenkov)

2009-10-30 (0.3.0) Michał Żarłok:
* fixed and matured translations support (patches by Jonathan Thomas)
* added dutch translation
* fixed storing and loading CoastingSpeed state on startup (patch by Andrey Borzenkov)
* fixed crash when there is no "synaptics" touchpad
* added name of the touchpad

2009-10-22 (0.2.95) Michał Żarłok:
* added preliminary translation support
* corrected tooltip
* fixed potential memory leak
* added new option "Max Tap Move"
* some improvements in loading values at kde start
* add "Sensitivity" option
* fix initializing of boolean properties (patch by Andrey Borzenkov)
* fix storing CoastingSpeed configuration (patch by Andrey Borzenkov)
* fix tooltip for "Enable Coasting"
* add "Corner Coasting" option

2009-10-17 (0.2.1) Michał Żarłok:
* added missing file "synaptics-properties.h"
* disabled "touch sensitivity" option
* added license notes to files
* added AUTHORS and LICENSE files
* updated README file

2009-10-15 (0.2.0) Michał Żarłok:

* switch from SHM to Xinput
* added some tooltips
* add "click time" option

2009-10-07 (0.1.0) Michał Żarłok:

* initial version

integr8e

9 years ago

... or maybe not.

It seems, if I toggle the coasting checkbox until I cannot coast anymore (which usually happens when the checkbox is enabled), and exit the KCM module, the checkbox will be disabled when I open it again. The opposite happens if I toggle the checkbox until I can coast again, which is usually when the checkbox is disabled; when I close and reopen the KDM module, the checkbox is enabled again.

Strange -- I'll see if I can figure it out, but wouldn't mind if someone more knowledgeable with the application than I am beats me to a solution.

Report

bitcrazy

9 years ago

Here, the module shows the touchpad as enabled although its state is disabled.
Perhaps parsing the config doesn't work.
Will check that in the afternoon.

m0nk

Report

C

mishaaq

9 years ago

I have fixed missing headers in pad.cpp file. Link above leads to new version of libsynaptics.

Report

mirzaD

9 years ago

I am dying to try this. There have been a lot of ideas on brainstorm kde about a need for program like this.
There seems to be a lot of installation problems.
Could you please make deb file using program "checkinstall" for kubuntu.
Thanks for your efforts.

Report

mirzaD

9 years ago

I am dying to try this. There have been a lot of ideas on brainstorm kde about a need for program like this.
There seems to be a lot of installation problems.
Could you please make deb file using program "checkinstall" for kubuntu.
Thanks for your efforts.

Report

swiftscythe

9 years ago

Here's the output:

Building CXX object CMakeFiles/kcm_touchpad.dir/kcm_touchpad_automoc.o
[100%] Building CXX object CMakeFiles/kcm_touchpad.dir/touchpad.o
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp: In function ‘bool Touchpad::isCoastingEnabled()’:
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp:150: error: ‘CORNERCOASTING’ was not declared in this scope
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp: At global scope:
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp:186: warning: unused parameter ‘enabled’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp:186: warning: unused parameter ‘time’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp: In function ‘void Touchpad::setCoastingEnabled(bool)’:
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/touchpad.cpp:290: error: ‘CORNERCOASTING’ was not declared in this scope
make[2]: *** [CMakeFiles/kcm_touchpad.dir/touchpad.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:281: warning: unused parameter ‘toggle’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:286: warning: unused parameter ‘toggle’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:296: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:301: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:315: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:320: warning: unused parameter ‘toggle’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:334: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:339: warning: unused parameter ‘toggle’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:352: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:368: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:373: warning: unused parameter ‘chosen’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:392: warning: unused parameter ‘value’
/home/swiftscythe/abs/kcm_touchpad/src/kcm_touchpad/kcmtouchpad.cpp:397: warning: unused parameter ‘value’
make[1]: *** [CMakeFiles/kcm_touchpad.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.

Thanks in advance :)

Report

bitcrazy

9 years ago

SOLVED:
Add #define CORNERCOASTING "CornerCoasting" at the end of /usr/include/synaptics/synparam.h, but before the final #endif

Report

bitcrazy

9 years ago

These libsynaptics are unofficial, right?
Btw. Code comments in English would be nice and some of the standard files like COPYING README AUTHORS and CHangeLog.

Although I don't like touchpads, I'll give it a try. I'm using ThinkPads with the stick and touchpad disabled, which would be a nice feature too.

m0nk

Report

C

mishaaq

9 years ago

Previous maintainer (Stefan Kombrink) bailed out this project and I've started to evolve it.

Report

bitcrazy

9 years ago

SOLVED:
Add #define CORNERCOASTING "CornerCoasting" at the end of /usr/include/synaptics/synparam.h, but before the final #endif

Report

C

mishaaq

9 years ago

Version 0.14.6c of libsynaptics is very old. I've included download link to latest version 1.1.3. You have to compile and install it first.

Report

bitcrazy

9 years ago

Compile errors:

/usr/src/packages/SOURCES/kcm_touchpad/touchpad.cpp: In function ‘bool Touchpad::isCoastingEnabled()’:
/usr/src/packages/SOURCES/kcm_touchpad/touchpad.cpp:150: error: ‘CORNERCOASTING’ was not declared in this scope

libsynaptics-0.14.6c is installed, but no CORNER in headers. Perhaps Ubuntu version is patched?

Any suggestions?

Btw. Isn't libsynaptic obsolete in favour to touchfreeze?


m0nk

Report

C

mishaaq

9 years ago

Version 0.14.6c of libsynaptics is very old. I've included download link to latest version 1.1.3. You have to compile and install it first.

Report

pano

9 years ago

Hi,

I cannot compile libsynaptics from the tarball. I run the commands described in the INSTALL file, but the compilation fails with:

pad.o
pad.cpp: In member function 'std::string Synaptics::Pad::intVerToStrVer(int)':
pad.cpp:109: error: 'sprintf' was not declared in this scope
pad.cpp: In member function 'bool Synaptics::Pad::detectDriverVersion()':
pad.cpp:176: error: 'perror' was not declared in this scope
pad.cpp: In member function 'void Synaptics::Pad::init()':
pad.cpp:720: error: 'perror' was not declared in this scope
make: *** [pad.lo] Error 1

On Arch Linux

Report

bitcrazy

9 years ago

Missing header includes in pad.cpp
Add
#include <stdio.h>
#include <errno.h>
at the beginning

Report

C

mishaaq

9 years ago

Add line:
#include <stdio.h>
at the beginning of file "pad.cpp".

I include this fix to the next version.

Report

9 years ago

2010-01-12 (0.3.1) Michał Żarłok:
* fixed setting of sensitivity parameters (patch by Andrey Borzenkov)
* added german translation (by Volker Härtel)
* fixed settings of coasting speed on startup (patch by Andrey Borzenkov)

2009-10-30 (0.3.0) Michał Żarłok:
* fixed and matured translations support (patches by Jonathan Thomas)
* added dutch translation
* fixed storing and loading CoastingSpeed state on startup (patch by Andrey Borzenkov)
* fixed crash when there is no "synaptics" touchpad
* added name of the touchpad

2009-10-22 (0.2.95) Michał Żarłok:
* added preliminary translation support
* corrected tooltip
* fixed potential memory leak
* added new option "Max Tap Move"
* some improvements in loading values at kde start
* add "Sensitivity" option
* fix initializing of boolean properties (patch by Andrey Borzenkov)
* fix storing CoastingSpeed configuration (patch by Andrey Borzenkov)
* fix tooltip for "Enable Coasting"
* add "Corner Coasting" option

2009-10-17 (0.2.1) Michał Żarłok:
* added missing file "synaptics-properties.h"
* disabled "touch sensitivity" option
* added license notes to files
* added AUTHORS and LICENSE files
* updated README file

2009-10-15 (0.2.0) Michał Żarłok:

* switch from SHM to Xinput
* added some tooltips
* add "click time" option

2009-10-07 (0.1.0) Michał Żarłok:

* initial version

12345678910
3
product-maker dimitarpopov Apr 22 2012 9 excellent
product-maker josec87 May 04 2011 9 excellent
product-maker aqeeliz Jan 26 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3.1
updated Jan 12 2010
added Oct 07 2009
downloads 24h
0
page views 24h 7
System Tags app software