ThinkPad 禁用 触摸板

执行 xinput

wowk@wowk:~$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Lenovo Precision USB Mouse id=10 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=14 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad 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)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Integrated Camera id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ ThinkPad Extra Buttons

找到 TouchPad 那一项 , 将其作为参数 传给 xinput

wowk@wowk:~$ xinput disable "SynPS/2 Synaptics TouchPad"

执行完后 , 触摸板被禁用

该方法是临时禁用触摸板 , PC 重启后会失效  , 解决方法是将该命令加入.bashrc  中

上一篇:【POJ】2142 The Balance 数论(扩展欧几里得算法)


下一篇:poj2115 Looooops 扩展欧几里德的应用