笔记本禁止触摸板操作

作者:jicanmeng

时间:2014年11月2日


baidu "centos 禁止触摸":

[jicanmeng@andy tmp]$ xinput list
				⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
				⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
				⎜   ↳ PS/2 Generic Mouse                      	id=13	[slave  pointer  (2)]
				⎜   ↳ Macintosh mouse button emulation        	id=14	[slave  pointer  (2)]
				⎜   ↳ SIGMACHIP Usb Mouse                     	id=15	[slave  pointer  (2)]
				⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
				  ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
				  ↳ Lid Switch                              	id=6	[slave  keyboard (3)]
				  ↳ AT Translated Set 2 keyboard            	id=7	[slave  keyboard (3)]
				  ↳ USB2.0 HD UVC WebCam                    	id=8	[slave  keyboard (3)]
				  ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
				  ↳ Video Bus                               	id=10	[slave  keyboard (3)]
				  ↳ Video Bus                               	id=11	[slave  keyboard (3)]
				  ↳ Power Button                            	id=12	[slave  keyboard (3)]
				[jicanmeng@andy tmp]$ xinput --set-prop  "PS/2 Generic Mouse" "Device Enabled" 0
				[jicanmeng@andy tmp]$ 

参考资料

  1. CentOS 6禁用触摸板:
    http://hi.baidu.com/zbpdsz/item/e934f4017b630d72bfe97e10