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 & amp; #9121; Virtualcorepointerid2 [masterpo...
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)] dynamic Route SynPS/2 Synaptics TouchPad id = 12 [slave pointer (2)] www.2cto.com 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)] using Video Bus id = 7 [Slave keyboard (3)] export 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 indicates 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
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