Linux Disable Touchpad

Source: Internet
Author: User

1, first you need to view the touchpad:

Command: XInput list

Results:

? Virtual core pointer id=2 [master pointer (3)]
? ? Virtual core XTEST pointer id=4 [slave pointer (2)]
? ? Macintosh mouse button emulation id=14 [slave pointer (2)]
?  ? USB OPTICAL MOUSE id=15 [slave pointer (2)]
? ? IMPS/2 Logitech Wheel Mouse id=13 [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)]
? Lid Switch id=7 [slave keyboard (3)]
? Lenovo Easycamera id=8 [slave keyboard (3)]
? Sleep Button id=9 [slave keyboard (3)]
? Power Button id=10 [slave keyboard (3)]
? Video Bus id=11 [slave keyboard (3)]
? Power Button id=12 [slave keyboard (3)]

2, general, Touchpad are with PS/2 option:

To disable the touchpad:

XInput set-prop "Imps/2 Logitech Wheel Mouse" "Device Enabled" 0
Enable Touchpad:

XInput set-prop "Imps/2 Logitech Wheel Mouse" "Device Enabled" 1

3. See if the success

Command: XInput list-props "IMPS/2 Logitech Wheel Mouse"

Result: Device ' imps/2 Logitech Wheel Mouse ':
Device Enabled (138): 0
When you see the value here, it is 0, indicating that the above settings have worked

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.