×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: 佳 袁
Added: Dec 24, 2012 3:09 PM
Views: 1816
Tags: shell xinput
  1. 1. 查看设备 找出 触摸板(含有touchpad的字符) 并记住其id
  2.     xinput --list
  3. 2.  查看其状态
  4. xinput list-props 14(id)
  5.  
  6. 找出 'Device Enabled (137)' 字符 其状态一般为 1--表示其可以使用
  7. 3. 禁用 touchpad设备
  8.     xinput set-prop 'ETPS/2 Elantech Touchpad' 'Device Enabled' 0