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
6 .7
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:

10 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

PhrkOnLsh

11 years ago

cmake
make
sudo make install

Report

EagleScreen

11 years ago

maken cannot find synaptics-properties.h, xorg-x11-devel is installed.
In OpenSuse 11.2 RC1.

Report

PhrkOnLsh

11 years ago

See my comments in the thread above yours

Report

PhrkOnLsh

11 years ago

> cmake
That should be
cmake CMakeLists.txt

Report

bitcrazy

11 years ago

Header "synaptics-properties.h" is missing in package

m0nk

Report

PhrkOnLsh

11 years ago

in Fedora that is provided by xorg-x11-drv-synaptics-devel search for a similar package in your distro.

Report

PhrkOnLsh

11 years ago

myeah, still not compiling... let me bang on this.

Report

C

mishaaq

11 years ago

I appologize that setting sensitivity in version 0.2.0 does nothing. I forgot to disable it - it still needs polishing.

Report

EagleScreen

11 years ago

Testing kcmtouchpad in Kubuntu 9.10, installed from jaunty ppa packages.
I obtain this error: Shared memory for synaptics driver is not enabled!
But Shared memory seems to be enabled, here is my config in /usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi

######BEGIN########
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLES:
Switch on shared memory, enables the driver to be configured at runtime
<merge key="input.x11_options.SHMConfig" type="string">true</merge>

Maximum movement of the finger for detecting a tap
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

Enable vertical scrolling when dragging along the right edge
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>

Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>

Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>

If on, circular scrolling is used
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>

For other possible options, check CONFIGURATION DETAILS in synaptics man page
-->
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="Inspiron 1011">
<merge key="input.x11_options.JumpyCursorThreshold" type="string">90</merge>
</match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="Inspiron 1012">
<merge key="input.x11_options.JumpyCursorThreshold" type="string">90</merge>
</match>
<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="HP MiniNote 1000">
<merge key="input.x11_options.JumpyCursorThreshold" type="string">200</merge>
</match>
</match>
</device>
</deviceinfo>
#######END########
What is the matter?

Report

C

mishaaq

11 years ago

Did you try if synclient -l is working properly?
Please be patient. I'm working on xinput backend, so everything related with SHM and libsynaptics will be removed.

Report

EagleScreen

11 years ago

synclient -l reports this:

$ synclient -l
Parameter settings:
LeftEdge = 1752
RightEdge = 5192
TopEdge = 1620
BottomEdge = 4236
FingerLow = 24
FingerHigh = 29
FingerPress = 255
MaxTapTime = 180
MaxTapMove = 221
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
FastTaps = 0
EmulateMidButtonTime = 75
EmulateTwoFingerMinZ = 280
EmulateTwoFingerMinW = 7
VertScrollDelta = 100
HorizScrollDelta = 100
VertEdgeScroll = 1
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 0
HorizTwoFingerScroll = 0
MinSpeed = 0.4
MaxSpeed = 0.7
AccelFactor = 0.00995223
TrackstickSpeed = 40
EdgeMotionMinZ = 29
EdgeMotionMaxZ = 159
EdgeMotionMinSpeed = 1
EdgeMotionMaxSpeed = 401
EdgeMotionUseAlways = 0
UpDownScrolling = 1
LeftRightScrolling = 1
UpDownScrollRepeat = 1
LeftRightScrollRepeat = 1
ScrollButtonRepeat = 100
TouchpadOff = 0
GuestMouseOff = 0
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 0
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 2
TapButton3 = 3
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 1
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 199
CoastingSpeed = 0
PressureMotionMinZ = 29
PressureMotionMaxZ = 159
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice = 1
AreaLeftEdge = 0
AreaRightEdge = 0
AreaTopEdge = 0
AreaBottomEdge = 0
JumpyCursorThreshold = 0

Report

cb400f

11 years ago

Great. I've been wishing for a ksynaptics revival for a while.

Have you made any plans regarding translation? Can it be translated in Launchpad somewhere perhaps? Any chance of getting it into KDE SVN?

Report

C

mishaaq

11 years ago

This project is fresh. I've uploaded it here to get some feedback if users want to use it and what I should do next. Kcm_touchpad cannot be translated at this time, but this feature :) is on the top of my priorities.
About chance to getting it into kde svn you have to ask kde developers :).

Report

pano

11 years ago

I certainy don't think they wil tell you a "No" :-)
You could first put it into playground(-base)

Report

C

mishaaq

11 years ago

This project is located on github at this moment (http://github.com/mishaaq/kcm_touchpad) along with libsynaptics. When it be ready (more mature) I'll try to get it into playground.

Report

jalpaka

11 years ago

very nice. wish to see it in upstream kde :)

Report

mirzaD

11 years ago

Another problem. Install went fine, but when i open module popup comes out and says:
"Shared memory for synaptics driver is not enabled!"

This is my xorg.conf section:
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection

Report

C

mishaaq

11 years ago

I think you have to enable shm in hal, not xorg.conf. Look at http://www.samlesher.com/code/enable-shmconfig-for-synaptics-touchpad-on-ubuntu-intrepid-ibex-810 how to do this.

Report

mirzaD

11 years ago

Now i don't see the popup, but every setting that i applied did not work: enable horizontal scrolling, disable vertical, touch sensitivity ... ?

A click apply but nothing changes ?

Report

C

mishaaq

11 years ago

Please paste here output of "synclient -l" before and after change of some option.

Report

mirzaD

11 years ago

I tried it, and after any change output is always the same:
Parameter settings:
LeftEdge = 1632
RightEdge = 5312
TopEdge = 1575
BottomEdge = 4281
FingerLow = 24
FingerHigh = 29
FingerPress = 255
MaxTapTime = 180
MaxTapMove = 221
MaxDoubleTapTime = 180
SingleTapTimeout = 180
ClickTime = 100
FastTaps = 0
EmulateMidButtonTime = 75
EmulateTwoFingerMinZ = 280
VertScrollDelta = 100
HorizScrollDelta = 100
VertEdgeScroll = 1
HorizEdgeScroll = 0
CornerCoasting = 0
VertTwoFingerScroll = 1
HorizTwoFingerScroll = 0
MinSpeed = 0.2
MaxSpeed = 0.5
AccelFactor = 0.00995223
TrackstickSpeed = 40
EdgeMotionMinZ = 29
EdgeMotionMaxZ = 159
EdgeMotionMinSpeed = 1
EdgeMotionMaxSpeed = 401
EdgeMotionUseAlways = 0
UpDownScrolling = 1
LeftRightScrolling = 1
UpDownScrollRepeat = 1
LeftRightScrollRepeat = 1
ScrollButtonRepeat = 100
TouchpadOff = 0
GuestMouseOff = 0
LockedDrags = 0
LockedDragTimeout = 5000
RTCornerButton = 2
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 2
TapButton3 = 3
ClickFinger1 = 1
ClickFinger2 = 1
ClickFinger3 = 1
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 0
PalmMinWidth = 10
PalmMinZ = 199
CoastingSpeed = 0
PressureMotionMinZ = 29
PressureMotionMaxZ = 159
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
GrabEventDevice = 1

Report

mirzaD

11 years ago

problem with libsynaptics install.
"./configure" goes without problem
"make" goes without problems
but "make install" returns error:

make[1]: Entering directory `/home/mirza/Downloads/Programi/synaptic touchpad/mishaaq-libsynaptics-a6ec9c7'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c 'libsynaptics.la' '/usr/local/lib/libsynaptics.la'
libtool: install: /usr/bin/install -c .libs/libsynaptics.so.0.0.1 /usr/local/lib/libsynaptics.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libsynaptics.so.0.0.1 libsynaptics.so.0 || { rm -f libsynaptics.so.0 && ln -s libsynaptics.so.0.0.1 libsynaptics.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsynaptics.so.0.0.1 libsynaptics.so || { rm -f libsynaptics.so && ln -s libsynaptics.so.0.0.1 libsynaptics.so; }; })
libtool: install: /usr/bin/install -c .libs/libsynaptics.lai /usr/local/lib/libsynaptics.la
libtool: install: /usr/bin/install -c .libs/libsynaptics.a /usr/local/lib/libsynaptics.a
libtool: install: chmod 644 /usr/local/lib/libsynaptics.a
libtool: install: ranlib /usr/local/lib/libsynaptics.a
/bin/bash: /home/mirza/Downloads/Programi/synaptic: No such file or directory
make[1]: *** [install-libLTLIBRARIES] Error 127
make[1]: Leaving directory `/home/mirza/Downloads/Programi/synaptic touchpad/mishaaq-libsynaptics-a6ec9c7'
make: *** [install-am] Error 2

Report

mirzaD

11 years ago

Ok i figured this out.
Problem is insanely stupid. The path to my folder where i extracted libsynaptics contains folder "Synaptic touchpad".
The problem is a space in the folder name.
After renaming it to "Synaptic_touchpad" it works fine.

This kind of stupid errors should not happen... really .

Report

integr8e

11 years ago

With me, it seems corner coasting only works when its check box is disabled in the KCM module; is anybody else experiencing this?

Report

integr8e

11 years ago

This patch seems to fix my problem, but is more of a workaround than a solution:

--- kcmtouchpad.cpp.orig 2009-10-07 21:53:39.000000000 -0400
+++ kcmtouchpad.cpp 2009-10-07 21:54:05.000000000 -0400
@@ -112,7 +112,7 @@
ui->ScrollHorizSpeedS->setValue(config.readEntry("ScrollingHorizontalSpeed", Touchpad::horizontalScrollingDelta()));
ui->ScrollHorizTFEnableCB->setCheckState(config.readEntry("ScrollingHorizontalTwoFingersEnabled", Touchpad::isHorizontalTwoFingersScrollingEnabled()) ? Qt::Checked : Qt::Unchecked);

- ui->ScrollCoastingEnableCB->setCheckState(config.readEntry("ScrollingCoastingEnabled", Touchpad::isCoastingEnabled()) ? Qt::Checked : Qt::Unchecked);
+ ui->ScrollCoastingEnableCB->setCheckState(config.readEntry("ScrollingCoastingEnabled", Touchpad::isCoastingEnabled()) ? Qt::Unchecked : Qt::Checked);
ui->ScrollCoastingSpeedS->setValue(config.readEntry("ScrollingCoastingSpeed", Touchpad::coastingSpeed()));

ui->ScrollCircularEnableCB->setCheckState(config.readEntry("CircularScrollingEnabled", Touchpad::isCircularScrollingEnabled()) ? Qt::Checked : Qt::Unchecked);

Report

10 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
Be the first to comment
josec87
May 04 2011
radecz3k
Mar 18 2010
mirzaD
Feb 10 2010
cyberbeat
Dec 20 2009
moonrise
Dec 11 2009
giricz81
Dec 10 2009
hvontres
Nov 20 2009
PhrkOnLsh
Nov 04 2009
marcotangaro
Oct 24 2009
onlinelli
Oct 22 2009
pipaceliny
Oct 17 2009
deabru
Oct 16 2009
mck182
Oct 10 2009
jalpaka
Oct 09 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.1
updated Jan 12 2010
added Oct 07 2009
downloads 24h
1
mediaviews 24h 0
pageviews 24h 3
System Tags app software