Solution found:
source: https://github.com/mattocompleto/elantech-clickpad-fix

Just make autorun this script:
#!/bin/bash

device=`xinput list "ETPS/2 Elantech Touchpad" | grep -o 'id=[0-9]\+' |
egrep "[0-9]{1,}" -o`

i=0
while read label min delim max; do
        if [ $i -eq 0 ]; then
                minx=$min
                maxx=$max
        elif [ $i -eq 1 ]; then
                miny=$min
                maxy=$max
                break
        fi

        (( i++ ))
done < <(xinput list "$device" | grep Range)

middleleft=`echo \($maxx - $minx\) / 2 \* 90 / 100 + $minx | bc -l`
middleright=`echo \($maxx - $minx\) / 2 \* 110 / 100 + $minx | bc -l`
left=`echo $middleright + 1 | bc -l`
right=$maxx
height=`echo \($maxy - $miny\) | bc -l`
top=`echo $height \* 0.82 + $miny | bc -l`
bottom=`echo $height \* 2 + $miny | bc -l`

# enable the clickpad
xinput set-prop "$device" "Synaptics ClickPad" 1

# enable right and middle click (drag & drop selection) for the clickpad
xinput set-prop "$device" "Synaptics Soft Button Areas" $left $right $top 
$bottom $middleleft $middleright $top $bottom

# enable the triple-finger tap as middle click
synclient TapButton1=1 TapButton2=3 TapButton3=2

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/1179656

Title:
  Elantech Touchpad, "AreaBottomEdge  =" parameter not work completly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1179656/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to