Désactiver le touchpad avec Bash
#!/bin/bash
# Enable/Disable touchpad
# $device is found by using "xinput list"
device=13
property=132
mode="$(xinput --list-props $device | grep $property | cut -d':' -f2)"
if [ $mode -eq "1" ]
then
xinput --set-prop $device $property 0
else
xinput --set-prop $device $property 1
fi