CentOS 禁用与开启触摸板

来源:互联网 发布:乌龙山伯爵 知乎 编辑:程序博客网 时间:2024/05/16 10:01
  1. 安装 xorg-x11-apps
    yum install xorg-x11-apps
  2. 查看对应设备的 id
    xinput –list
  3. 关闭 touchpad
    xinput set-int-prop 14 "Device Enabled" 8 0
  4. 启用 touchpad
    xinput set-int-prop 14 "Device Enabled" 8 1

注意,设备的 id 有时候会改变

原创粉丝点击