A new notebook ThinkPad e42 (i3 2310 m) is provided by the monks, and the touchpad is always prone to incorrect operations. Therefore, after seeking for a solution for a long time, the touchpad is finally resolved. The record is as follows:
Install xorg-x11-apps package: yum install xorg-x11-apps
Then:
# Shielding
Xinput set-int-prop 12 "Device Enabled" 8 0
# Enable
Xinput set-int-prop 12 "Device Enabled" 8 1
Write a small command:
01
#! /Bin/bash
02
# Echo "========================================"
03
# Echo "============= touchpad Management Program ============"
04
If [$1 = 'on']
05
Then
06
Xinput set-int-prop 12 "Device Enabled" 8 1
07
Echo "touchpad enabled successfully! "
08
Elif [$1 = 'off']
09
Then
10
Xinput set-int-prop 12 "Device Enabled" 8 0
11
Echo "the touchpad is disabled successfully! "
12
Else
13
Echo "Enter the parameter: on/off"
14
Echo "for example, enable the touchpad: chumoban on"
15
Fi
From renwofei423's blog