- 执行
xinput list
- 找到自带键盘的id,"AT Translated Set 2 keyboard"对应的id
xinput set-prop id "Device Enabled" 0
如何启用?
xinput set-prop id "Device Enabled" 1
禁用笔记本触摸板:sudo rmmod psmouse
开启笔记本触摸板:sudo modprobe psmouse
xinput list
xinput set-prop id "Device Enabled" 0
xinput set-prop id "Device Enabled" 1
禁用笔记本触摸板:sudo rmmod psmouse
开启笔记本触摸板:sudo modprobe psmouse