sriemer / fix-linux-mouse

Hints how to fix USB mouse issues on Linux
44 stars 5 forks source link

GNOME: Disabling the touchpad when mouse is connected #24

Closed sriemer closed 4 years ago

sriemer commented 4 years ago

I have cats which jump on my laptop. When the docking station is connected, then the touchpad should be disabled. I found the following article: https://www.ostechnix.com/automatically-disable-touchpad-when-external-mouse-is-connected-in-ubuntu/

I've just issued the following command once:

gsettings set org.gnome.desktop.peripherals.touchpad send-events disabled-on-external-mouse

This is rather something for a fix-linux-touchpad repo. But adding it here so that I can remember in case I want to start developing a further howto for touchpads.

sriemer commented 4 years ago

Disabling laptop keyboard as well: https://unix.stackexchange.com/questions/381944/how-to-disable-internal-keyboard-on-fedora-26-wayland

sudo libinput list-devices
sudo evtest --grab /dev/input/event0

in my case.