ubuntu 10.04禁用触摸板

打字的时候手掌总是不知不觉碰到触摸板,导致鼠标指针满屏幕乱窜,很烦人,于是在网上找到一些禁用触摸板的方法,适用于ubuntu 10.04的方法如下:

首先

guhehehe@guhehehe-laptop:/$ sudo find | grep xorg.conf
./etc/X11/xorg.conf.failsafe
./usr/share/man/man5/xorg.conf.5.gz
./usr/lib/X11/xorg.conf.d
./usr/lib/X11/xorg.conf.d/05-evdev.conf
./usr/lib/X11/xorg.conf.d/10-wacom.conf
./usr/lib/X11/xorg.conf.d/10-vmmouse.conf
./usr/lib/X11/xorg.conf.d/10-synaptics.conf

ubuntu 10.04的输入设备配置文件在/usr/lib/X11/xorg.conf.d文件夹内,cat ./usr/lib/X11/xorg.conf.d/05-evdev.conf可以看到

# Catchall classes for input devices
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.


Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection


Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection


#Section "InputClass"
# Identifier "evdev touchpad catchall"
# MatchIsTouchpad "on"
# MatchDevicePath "/dev/input/event*"
# Driver "evdev"
#EndSection


Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection


Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

把其中的MatchIsTouchpad都注释掉,./usr/lib/X11/xorg.conf.d/10-synaptics.conf中也有MatchIsTouchpad,我也全部注释了,然后重新启动计算机,触摸板就老实了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值