笔记本上的触摸板经常让鼠标打字时乱飞,所以有鼠标的话,还是禁用了比较舒服,在Ubuntu下也非常简单,最简单的就是安装GSynaptics,在菜单->系统->首选项里边就有个触摸板,打开就可以禁用了。当然不安装这个软件也可以,就是打开/etc/X11/xorg.conf
把
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
加一行Option "SHMConfig" "on" 如
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMConfig" "on"
EndSection
然后运行
synclient touchpadoff=0
synclient touchpadoff=1
就可以打开/关闭触摸板了。
那么如何开机关闭触摸板呢?
startup applications里---添加一个新启动项,名字随便取,命令内容是synclient touchpadoff=1,而描述也随便写。