在命令行下#!/bin/sh
[ -f /usr/share/acpi-support/state-funcs ] || exit 0
# get the current state of the touchpad
TPSTATUS=`synclient -l | awk '/TouchpadOff/ {print $3}'`
# if getting the status failed, exit
test -z $TPSTATUS && exit 1
if [ $TPSTATUS = 0 ]; then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi
禁用触摸板的命令是
sudo rmmod psmouse
恢复的命令
sudo modprobe psmouse
麻烦懂的人把命令替换一下 谢谢拉。