本文主要是介绍ubuntu 11.10 禁用触摸板,Dell Inspiron N4030,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
参考:http://hi.baidu.com/sdqdshixin/blog/item/af5b1ddf8482880d62279860.html在ubuntu 11.10中禁用Dell Inspiron N4030的触摸板,方法如下:
$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SIGMACH1P U+P Mouse id=11 [slave pointer (2)]
⎜ ↳ ImPS/2 ALPS GlidePoint id=13 [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)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_0.3M id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
上面的输出中,Virtual core pointer中的表示鼠标,因为我的鼠标是usb接口,所以用lsusb查看一下鼠标是哪个。
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0c45:6422 Microdia
Bus 002 Device 007: ID 1c4f:0003 SiGma Micro HID controller
好了,鼠标是SiGma,所以ImPS/2应该是触摸板,它的id是13,0禁用它,1开启。
$ xinput set-prop 13 "Device Enabled" 0
果然触摸板被禁了。
PS:cat /proc/bus/input/devices 也可以用来查看所有的输入设备。
这篇关于ubuntu 11.10 禁用触摸板,Dell Inspiron N4030的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!