Toggle Sony VAIO touchpad on Ubuntu 14.04

ubuntu_logo_81x81In case the older method to toggle (alternate enable disable) the touchpad is not working on Ubuntu Trusty (didn’t work for me), use the following modified script and add a keybind or keyboard shortcut to execute the script:

#!/bin/bash
SYNSTATE=$(synclient -l|grep TouchpadOff|cut -d = -f2)
if [ $SYNSTATE = 0 ]; then synclient TouchpadOff=1
else synclient TouchpadOff=0
fi

Leave a Reply

Your email address will not be published. Required fields are marked *