Disable the trigger template or Red Riding Hood method under ubuntu12 (absolutely feasible)

Source: Internet
Author: User


Disable the trigger template or Little Red Hat method under ubuntu12 (absolutely feasible) 1. Run the xinput command on the terminal to view the input device list. Java code: james @ james-thinkpad :~ $ Xinput points Virtual core pointer id = 2 [master pointer (3)] extends Virtual core XTEST pointer id = 4 [slave pointer (2)] commandid <span style = "color: # ff0000;"> SynPS/2 Synaptics TouchPad id = 12 [slave pointer (2)] </span> www.2cto.com Using Dynamic Route TPPS/2 IBM TrackPoint id = 13 [slave pointer (2)] using Virtual core keyboard id = 3 [master keyboard (2)] using Virtual core XTEST keyboard id = 5 [slave keyboard (3)] using Power Button id = 6 [Slave keyboard (3)] custom Video Bus id = 7 [slave keyboard (3)] custom Sleep Button id = 8 [slave keyboard (3)] export CNF7237 & CNF7238 id = 9 [slave keyboard (3)] export Asus Laptop extra buttons id = 10 [slave keyboard (3)] found AT Translated Set 2 keyboard id = 11 [slave keyboard (3)] the red device is the trigger template device information. The ID is 12 and the name is SynPS/2 Synaptics TouchPad 2. Disable the Device terminal to execute xinput set-prop 12 "Device Enabled" 0 12: The Device ID, you can also enter the device name 0: disabled. The optional values are: (1: enabled, 0: Disabled). 3. Disable the device automatically upon startup, however, it will be restored after restart. The solution is to automatically run the disable command to create an xinput. the content of the desktop file is as follows: java code www.2cto.com [Desktop Entry] Type = Application Exec = xinput set-prop 12 'device enabled' 0 Hidden = false NoDisplay = false X-GNOME-Autostart-Enabled = true Name [zh_CN] = touchpad enable Name = tou Chpad enable Comment [zh_CN] = disabled touchpad Comment = disabled touchpad save, add this content to the startup Application List. Author wujianjun

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.