Disable keyboard, TouchPad, mouse, and other input devices in Linux
Source: Internet
Author: User
In Linux, disable keyboard, TouchPad, Mouse and other input devices # xinputlist-propslist-number # xinputset-proplist-numberfunc-number1/0www.2cto.com $ xinputlist list all input devices www.2cto... disable input devices such as keyboard, TouchPad, and mouse in Linux # xinput list-props list-number # xinput set-prop list-number func-number 1/0 www.2cto.com $ xinput list to list all input devices www.2cto.com $ xinput list? Virtual core pointer id = 2 [master pointer (3)]?? Virtual core XTEST pointer id = 4 [slave pointer (2)]?? Logitech USB Optical Mouse id = 9 [slave pointer (2)]?? SynPS/2 Synaptics TouchPad id = 11 [slave pointer (2)]? Virtual core keyboard id = 3 [master keyboard (2)]? Virtual core XTEST keyboard id = 5 [slave keyboard (3)]? Power Button id = 6 [slave keyboard (3)]? Video Bus id = 7 [slave keyboard (3)]? Power Button id = 8 [slave keyboard (3)]? AT Translated Set 2 keyboard id = 10 [slave keyboard (3)] out-of-touch input device SynPS/2 Synaptics TouchPad id = 11 and then use the following command. 0 indicates that it is disabled, 1 indicates that $ xinput set-prop 11 "Device Enabled" 0 is Enabled.
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.