Ubuntu uses commands to disable input devices such as touchpad.

Source: Internet
Author: User
I use the Ubuntu10.04 system with a mouse and touchpad on my laptop. By default, the touchpad is enabled. when typing, you may encounter touchpad from time to time, which causes a lot of trouble. Therefore, you must disable the touchpad, currently, no related GUI tools are available for disabling UBUNTU. Find a method and use the xinput command: terminal: xinputlist to list all input devices www.linuxidc.com @ linuxidc:/etc/

I use Ubuntu 10.04 with a mouse and touchpad on my laptop. By default, the touchpad is enabled,

Sometimes, you may encounter touchpad from time to time during typing, which causes a lot of trouble. Therefore, you must disable the touchpad, which is limited to the currently used UBUNTU

There is no relevant GUI tool to disable it. Find a method and run the xinput command:

Terminal:

Xinput list lists all input devices.

  1. Www.linuxidc.com @ linuxidc:/etc/X11/xinit/xinput. d $ xinput list
  2. ⎡ Virtual core pointerId=2[Master pointer (3)]
  3. Zookeeper Virtual core XTEST pointerId=4[Slave pointer (2)]
  4. Zookeeper Logitech USB Optical MouseId=9[Slave pointer (2)]
  5. Zookeeper SynPS/2 Synaptics TouchPadId=11[Slave pointer (2)]
  6. ⎣ Virtual core keyboardId=3[Master keyboard (2)]
  7. Using Virtual core XTEST keyboardId=5[Slave keyboard (3)]
  8. ↳ Power ButtonId=6[Slave keyboard (3)]
  9. ↳ Video BusId=7[Slave keyboard (3)]
  10. ↳ Power ButtonId=8[Slave keyboard (3)]
  11. Found AT Translated Set 2 keyboardId=10[Slave keyboard (3)]

Id of the output touch input device SynPS/2 Synaptics TouchPad = 11

You can use the following command. 0 indicates disabled, 1 indicates enabled.

Www.linuxidc.com @ linuxidc:~ $ Xinput set-prop 11 "Device Enabled" 0

Status:

  1. Www.linuxidc.com @ linuxidc :~ $ Xinput list-props 11
  2. Device 'synps/2 Synaptics TouchPad ':
  3. Device Enabled (121): 0
  4. Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000
  5. Device Accel Profile (245): 0
  6. Device Accel Constant Deceleration (246): 1.000000
  7. Device Accel Adaptive Deceleration (247): 1.000000
  8. Device Accel Velocity Scaling (248): 10.000000
  9. Synaptics Edges (262): 1752,519 2, 1620,423 6
  10. ............

After logging out or restarting the system, the disabled device is enabled again. There is another method for synaptics touchpad, but the effect is similar, as follows: install gsynaptics,: sudo apt-get install gsynapticsgsynaptics

In the displayed dialog box, deselect the Enable touchpad option.

In this way, the touchpad can be disabled, but like the xinput command used previously, when the system is logged out or restarted, the touchpad is turned on again, which is a little troublesome.

However, you can add a system startup item to the startup application.

Google has some methods on the Internet, and after practice, it is quite troublesome. And for different systems

There are still some differences.

We can see that touchpad-indicator can easily solve the problem, but I searched for it and did not find the software.

 

 

 

 

 

 

 

 

 

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.