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

 

posted on 2017-09-04 19:01  Lemo_wd  阅读(2176)  评论(0编辑  收藏  举报

导航