Ubuntu系统使用命令禁用触摸板等输入设备
2013-07-01 21:30
453 查看
[日期:2012-02-22]
本人用的Ubuntu 10.04系统,笔记本上有鼠标和触摸板。默认下,触摸板是开启的,
有时候打字的时候会不时碰到触摸板,添了不少麻烦,所以得禁用触摸板,限于目前所用的UBUNTU上
没有相关的GUI工具来禁用。找到一方法,使用xinput命令:
终端下:
xinput list 列出所有input输入设备
www.linuxidc.com@linuxidc:/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 ,表示开启
www.linuxidc.com@linuxidc:~$ xinput set-prop 11 "Device Enabled" 0
状态:
www.linuxidc.com@linuxidc:~$ 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 gsynapticsgsynaptics
在弹出对话框中,取消 启用触摸板 选项
这样就能禁止掉触摸板了,但跟先前用的xinput命令一样,当系统注销或重启时,触摸板又被开启了,还是有点麻烦.
不过可以在 启动应用程序 中 加入系统启动项.
google 了我网上的一些方法,实践后,发现也是挺麻烦的。而且对于不同的系统
还是有些不一样。
看到有说touchpad-indicator可以很方便解决问题,但搜了一下,没找到这个软件.
本人用的Ubuntu 10.04系统,笔记本上有鼠标和触摸板。默认下,触摸板是开启的,
有时候打字的时候会不时碰到触摸板,添了不少麻烦,所以得禁用触摸板,限于目前所用的UBUNTU上
没有相关的GUI工具来禁用。找到一方法,使用xinput命令:
终端下:
xinput list 列出所有input输入设备
www.linuxidc.com@linuxidc:/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 ,表示开启
www.linuxidc.com@linuxidc:~$ xinput set-prop 11 "Device Enabled" 0
状态:
www.linuxidc.com@linuxidc:~$ 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 gsynapticsgsynaptics
在弹出对话框中,取消 启用触摸板 选项
这样就能禁止掉触摸板了,但跟先前用的xinput命令一样,当系统注销或重启时,触摸板又被开启了,还是有点麻烦.
不过可以在 启动应用程序 中 加入系统启动项.
google 了我网上的一些方法,实践后,发现也是挺麻烦的。而且对于不同的系统
还是有些不一样。
看到有说touchpad-indicator可以很方便解决问题,但搜了一下,没找到这个软件.
相关文章推荐
- Ubuntu系统使用命令禁用触摸板等输入设备
- Ubuntu系统使用ifconfig ,route命令手动设置网络接口参数
- 在ubuntu中gsettings的命令使用及查找到系统挂起的未活动的超时时间的值的获取方法
- 解决ubuntu 12.04登入系统后触摸板不能使用的问题
- Ubuntu系统关于驱动模块命令的一些使用
- 在ubuntu/deepin/mint等系统中使用命令删除文件或文件夹
- ubuntu系统下如何禁用笔记本触摸板
- 在Linux下禁用键盘、触摸板、鼠标等输入设备
- ubuntu禁用/启用触摸板命令
- ubuntu 使用adb shell命令识别android设备
- 使用lsusb命令查看系统中的USB设备
- 解决ubuntu 12.04登入系统后触摸板不能使用的问题
- Ubuntu10.10 32位系统下moses统计机器翻译系统使用命令记录
- 使用lsusb命令查看系统中的USB设备
- 思科设备自动退出配置界面、打断命令输入、禁用DNS查询
- ubuntu系统下使用rm命令删除文件
- [译]如何在Linux下禁用键盘、触摸板、鼠标等输入设备
- Ubuntu IP系统配置文件使用命令设置地址
- ubuntu系统下登陆mysql输入命令无效
- Ubuntu系统 sublime无法输入使用搜狗输入法