In Ubuntu, you often encounter the situation where you cannot turn off the touchpad with shortcut keys. This problem occurred after the blogger installed Ubuntu 18.04 on his computer. Solution: View First In Ubuntu, you often encounter the situation where you cannot turn off the touchpad with shortcut keys. This problem occurred after the blogger installed Ubuntu 18.04 on his computer. Solution: First check the id of the input device. Enter the command line: xinput. As shown in the figure, the id of the blogger's TouchPad is 17. The ids of different computers are different. After knowing id=17, you can turn off/on the touchpad through commands. Disable command: Enable command: It is too troublesome to enter it like this every time, so let's simplify it and write two shell files, one to turn off the TouchPad, named off17, and the other to turn on the TouchPad, named on17. Then add the modification permissions to these two files and move them to the /usr/bin/ directory. Command line input: In this way, you can enter off17 in the command line to turn off the touchpad. same, Command line input: You can turn on the touchpad by entering on17. Enter the device ID, enter the command line: xinput , as shown in the figure, the blogger's TouchPad ID = 17, different computers have different IDs, After knowing id=17, you can turn off/on the touchpad through commands. Disable command: Enable command: It is too troublesome to enter it like this every time, so let's simplify it and write two shell files, one to turn off the TouchPad, named off17, and the other to turn on the TouchPad, named on17. Then add the modification permissions to these two files and move them to the /usr/bin/ directory. Command line input: In this way, you can enter off17 in the command line to turn off the touchpad. same, Command line input: You can turn on the touchpad by entering on17. Summarize The above is what I introduced to you about disabling/enabling the touchpad in Ubuntu 18.04 through commands. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Steps to create a WEBSERVER using NODE.JS
>>: MySQL 8.0.15 installation and configuration method graphic tutorial under win10 home version 64
1. Execute the select statement first to generate...
Table of contents 1. Introduction 2. Customize ta...
Map tags must appear in pairs, i.e. <map> .....
1. Construction 1. Prepare htpasswd.txt file The ...
Today I used a virtual machine to do an experimen...
1. mpstat command 1.1 Command Format mpstat [ -A ...
The Docker Hub we used earlier is provided by Doc...
CSS naming conventions (rules) Commonly used CSS ...
【background】 I encountered a very embarrassing th...
Error description: 1. After installing Nginx (1.1...
Table of contents Achieve results Available plugi...
This article example shares the specific code of ...
MySQL sets up independent writing separation. If ...
Table of contents 1. writable: writable 2. enumer...
Table of contents 1. Install dependencies 2. Conf...