1. 程式人生 > >CentOS 禁用與開啟觸控板

CentOS 禁用與開啟觸控板

  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 有時候會改變