Hi Friends,
I had the same issue with my ASUS Laptop.
I made a modification in script in following way.(I have hard coded my 
touchpad’s number in script - device 17)
And output the values of variables to terminal. Then commented the last line.
----------------------------------------------------------------------------------------------------------------------------------------------
#!/bin/bash

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 "17" | grep Range)
#the 17 above is the my device number.

left=`echo \($maxx - $minx\) / 2 + $minx | bc -l`
right=$maxx
top=`echo \($maxy - $miny\) \* 0.8 + $miny | bc -l`
bottom=$maxy

echo "$left"
echo "$right"
echo "$top"
echo "$bottom"

#xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Soft Button Areas" $left 
$right $top $bottom
--------------------------------------------------------------------------------------------------------------------------------------------------
I ran the script the got following output.
aj@Ajeesh-K55VJ:~/Downloads$ ./enable-rightbutton.sh
1624.50000000000000000000
3249.000000
1778.4000000
2223.000000
Then take these values and run the below command.
aj@Ajeesh-K55VJ:~/Downloads$ xinput set-prop 17 324 1624.50000 3249.0000 
1778.40000 2223.0000 0 0 0 0
Basically added 4 zeroes to the command.
I hope someone with a better shell scripting capabilities can create a new 
script for everyone based above details.....

-- 
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/944961

Title:
  Can't enable Right Button Area on Elantech ETPS/2 Clickpad

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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to