I recently use Ubuntu 20.04 on my "daily driver laptop" and i found middle click mouse button was annoying like paste my code, close the tab in browser, make a new tab in files. So i like to disable it.
xinput list | grep 'id='
↳ ETPS/2 Elantech Touchpad id=13
xinput set-button-map 13 1 0 3
1 0 3
tells it that the left button should do a left click (action 1), the middle button should do nothing, and the right button should do a right click (action 3)
Source : https://askubuntu.com/questions/597064/disabling-middle-mouse-buttonBetter option for disabling click paste https://linuxconfig.org/how-to-disable-middle-mouse-button-click-paste-on-ubuntu-20-04-focal-fossa-linux/
Comments
Post a Comment