[ltp] T440p and Touchpad with Xfce

Theodore Ts'o linux-thinkpad@linux-thinkpad.org
Sat, 25 Jan 2014 11:06:12 -0500


I just recently got the T440p myself, and this is set of commands that
I'm using which transforms the Touchpad into a 3 button click pad.  I
got it originally from Marc Merlin, who in turn got it originally from
the sources listed below:

# https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Synclient
# https://stuffivelearned.org/doku.php?id=os:linux:general:synapticstouchtricks
synclient RTCornerButton=3
synclient LBCornerButton=6
synclient RBCornerButton=7

synclient RightButtonAreaTop=0
synclient RightButtonAreaRight=4858
synclient RightButtonAreaBottom=3665
synclient RightButtonAreaLeft=3500

synclient MiddleButtonAreaTop=0
synclient MiddleButtonAreaRight=3299
synclient MiddleButtonAreaBottom=3665
synclient MiddleButtonAreaLeft=2800

synclient areaTopEdge=6000
synclient coastingFriction=25
synclient coastingSpeed=10

BTW, this is also the script that I set up to set the recommendations
from powertop:

-------------------
#!/bin/sh

echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo 1 > /sys/module/snd_hda_intel/parameters/power_save

for i in $(iw dev | grep Interface | awk '{print $2}')
do
    iw dev $i set power_save on
done


for i in /sys/class/scsi_host/*/link_power_management_policy
do
    echo min_power > $i
done

for i in /sys/bus/usb/devices/*/power/control \
	/sys/bus/pci/devices/*/power/control
do
    if grep -q on $i
    then
	    echo auto > $i
    fi
done
--------------------------

							- Ted