Ubuntu系统使用命令禁用触摸板等输入设备
2011-11-30 09:55
597 查看
本人用的Ubuntu 10.04系统,笔记本上有鼠标和触摸板。默认下,触摸板是开启的,
有时候打字的时候会不时碰到触摸板,添了不少麻烦,所以得禁用触摸板,限于目前所用的UBUNTU上
没有相关的GUI工具来禁用。找到一方法,使用xinput命令:
终端下:
xinput list 列出所有input输入设备
找出触摸输入设备SynPS/2 Synaptics TouchPad的 id = 11
再用以下命令就可以了, 0,表示禁止,1 ,表示开启
对于synaptics 的触摸板,还有另种方法,不过效果差不多,如下:
安装gsynaptics,:
sudo apt-get install gsynaptics
gsynaptics
在弹出对话框中,取消 启用触摸板 选项
这样就能禁止掉触摸板了,但跟先前用的xinput命令一样,当系统注销或重启时,触摸板又被开启了,还是有点麻烦.
不过可以在 启动应用程序 中 加入系统启动项.
google 了我网上的一些方法,实践后,发现也是挺麻烦的。而且对于不同的系统
还是有些不一样。
看到有说touchpad-indicator可以很方便解决问题,但搜了一下,没找到这个软件.
有时候打字的时候会不时碰到触摸板,添了不少麻烦,所以得禁用触摸板,限于目前所用的UBUNTU上
没有相关的GUI工具来禁用。找到一方法,使用xinput命令:
终端下:
xinput list 列出所有input输入设备
wsn@wsn-Inspiron-1427:/etc/X11/xinit/xinput.d$ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Logitech USB Optical Mouse id=9 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
找出触摸输入设备SynPS/2 Synaptics TouchPad的 id = 11
再用以下命令就可以了, 0,表示禁止,1 ,表示开启
wsn@wsn-Inspiron-1427:~$ xinput set-prop 11 "Device Enabled" 0状态:
wsn@wsn-Inspiron-1427:~$ xinput list-props 11 Device 'SynPS/2 Synaptics TouchPad': Device Enabled (121): 0 Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (245): 0 Device Accel Constant Deceleration (246): 1.000000 Device Accel Adaptive Deceleration (247): 1.000000 Device Accel Velocity Scaling (248): 10.000000 Synaptics Edges (262): 1752, 5192, 1620, 4236 ............当注销或者重启系统后,被禁止的设备又被开启。
对于synaptics 的触摸板,还有另种方法,不过效果差不多,如下:
安装gsynaptics,:
sudo apt-get install gsynaptics
gsynaptics
在弹出对话框中,取消 启用触摸板 选项
这样就能禁止掉触摸板了,但跟先前用的xinput命令一样,当系统注销或重启时,触摸板又被开启了,还是有点麻烦.
不过可以在 启动应用程序 中 加入系统启动项.
google 了我网上的一些方法,实践后,发现也是挺麻烦的。而且对于不同的系统
还是有些不一样。
看到有说touchpad-indicator可以很方便解决问题,但搜了一下,没找到这个软件.
相关文章推荐
- Ubuntu系统使用命令禁用触摸板等输入设备
- 使用.bat文件自动向cmd输入命令(双击运行,烧写系统)
- Ubuntu IP系统配置文件使用命令设置地址
- 使用lsusb命令查看系统中的USB设备
- ubuntu14.04下svn版本管理系统的安装及常用命令的使用整理
- ubuntu系统下如何禁用笔记本触摸板
- 在Linux下禁用键盘、触摸板、鼠标等输入设备
- ubuntu 使用adb shell命令识别android设备
- Ubuntu系统使用RAR格式文件命令
- Ubuntu系统关于驱动模块命令的一些使用
- 解决ubuntu 12.04登入系统后触摸板不能使用的问题
- iostat命令_Linux iostat 命令用法详解:监视系统输入输出设备和CPU的使用情况
- ubuntu系统下如何禁用笔记本触摸板。
- 使用lsusb命令查看系统中的USB设备
- Ubuntu系统使用ifconfig ,route命令手动设置网络接口参数
- 在ubuntu中gsettings的命令使用及查找到系统挂起的未活动的超时时间的值的获取方法
- Ubuntu IP系统配置文件使用命令设置地址
- [译]如何在Linux下禁用键盘、触摸板、鼠标等输入设备
- ubuntu修改时间、显示硬件时间、同步系统时钟(date命令使用方法)
- ubuntu禁用/启用触摸板命令