centos7/rhel7设置笔记本触摸版

来源:互联网 发布:给二维数组赋初值 编辑:程序博客网 时间:2024/06/05 10:55

1.安装软件

          安装 xorg-x11-apps 包: yum install xorg-x11-apps。

2.查找ID

          终端输入 xinput list

          找到 PS/2

          记录后面的ID 

  1. xinput list |egrep "PS/2"

 ETPS/2 Elantech Touchpad                 id=14[slave  pointer  (2)]

3.设置

  1. #屏蔽xinput set-int-prop 14 "Device Enabled" 8 0
  2. #启用xinput set-int-prop 14 "Device Enabled" 8 1

0 0
原创粉丝点击