Here is a page that explians how to disable the touchpad when a mouse is plugged in on ubuntu 22.04 LTS (Gnome)
Problem is that Touchpad-indicator and Touchpad toggle no longer work in 22.04. I for one always like my touchpad to be disabled when my external mouse is plugged in as it prevent my clumsy fingers for moving the mouse and click on things I don't want when using the laptop.
in any event be careful because you can easily bork the system if you make a mistake using this procedure.
Problem is that Touchpad-indicator and Touchpad toggle no longer work in 22.04. I for one always like my touchpad to be disabled when my external mouse is plugged in as it prevent my clumsy fingers for moving the mouse and click on things I don't want when using the laptop.
in any event be careful because you can easily bork the system if you make a mistake using this procedure.
![]()
How to Automatically Disable Touchpad When Mouse is Connected to your Ubuntu System
If you are one of those Ubuntu users who frequently use the external USB mouse with your laptop, you might want to disable the touchpad while using the mouse. Most users’ reason for doing so is to…vitux.com