RHEL6 close ThinkPade42 TouchPad

Source: Internet
Author: User
Simple new with a notebook ThinkPade42 (i32310m), touchpad has been easy to misoperation, so seek a solution, find for a long time, finally solve, now records as follows: install xorg-x11-apps package: yuminstallxorg-x11-apps and then: # shielding xinputset-int... 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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.