Centos disable notebook touchpad

Source: Internet
Author: User

I installed a pair of systems in my laptop at home, and found that the touchpad was annoying and disabled!

1. Install a small artifact

yum install xorg-x11-apps

2. view the hardware ID to enable or disable the command.

[[email protected] yum.repos.d]# xinput list? Virtual core pointer                        id=2    [master pointer  (3)]?   ? Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]?   ? 2.4G Gaming Dongle                          id=9    [slave  pointer  (2)]?   ? Macintosh mouse button emulation            id=15    [slave  pointer  (2)]?   ? SynPS/2 Synaptics TouchPad                  id=16    [slave  pointer  (2)]? Virtual core keyboard                       id=3    [master keyboard (2)]    ? Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]    ? AT Translated Set 2 keyboard                id=6    [slave  keyboard (3)]    ? 2.4G Gaming Dongle                          id=7    [slave  keyboard (3)]    ? Namuga 1.3M Webcam                          id=8    [slave  keyboard (3)]    ? Sleep Button                                id=10    [slave  keyboard (3)]    ? Power Button                                id=11    [slave  keyboard (3)]    ? Lid Switch                                  id=12    [slave  keyboard (3)]    ? Video Bus                                   id=13    [slave  keyboard (3)]    ? Power Button                                id=14    [slave  keyboard (3)]

From the result, we can see that touchad to id = 16

3. Disable!

xinput set-int-prop 16 "Device Enabled" 8 0

4. If necessary, you can use this command to enable

xinput set-int-prop 16 "Device Enabled" 8 1
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.