lemos

linux 关闭笔记本自带键盘

linux 命令行工具

xinput list 

  

找到 AT Translated Set 2 keyboard,其 id为 13

设置值为 0

xinput set-prop 13 "Device Enabled" 0 

 

如果想恢复,对应的值设为1即可

xinput set-prop 13 "Device Enabled" 1

 

分类:

技术点:

相关文章: