Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
What are some ways to disable the laptop touchpad after connecting a mouse, which can either be wired (USB) or wireless (including Bluetooth)? I am running Ubuntu 14.04.