The touchpad is sometimes too cumbersome, and the keyboard player will always touch it inadvertently.
Write a sh script to automatically disable the touchpad when booting up. Eight...
principle:
- Use
modprobe
this bash command to automatically uninstall the touchpad modulepsmouse
- The sh script in the /etc/profile.d/ folder will be executed when Linux is booted
Create a sh script file in the /etc/profile.d/ folder:
The file name is arbitrary, the suffix is .sh
content:
#!/bin/bash
modprobe -r psmouse
carry out!
If you want to use the touchpad:
- Execute in the terminal
modprobe psmouse
- Then use the switch on the keyboard and the keyboard combination of the touchpad to switch the touchpad twice to use it
- If you no longer use it, just delete the sh script file you just created.