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
Solution found: /github. com/mattocomple to/elantech- clickpad- fix
source: https:/
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
minx= $min
maxx= $max
miny= $min
maxy= $max
break
while read label min delim max; do
if [ $i -eq 0 ]; then
elif [ $i -eq 1 ]; then
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