Disabling Additional Mouse Buttons in Ubuntu Linux
I have a fancy mouse that does all kinds of gaming things that I don't want or need.
Today the side button quit me out of an important Google Meeting, so I wanted to prevent that ever happening.
Fortunately, while I could not find a GUI, you can do this with the command line.
1. Get the device list
xinput list
2. Get the mappings
Find the number associated with the device and supply it like so:
xinput list 9
3. Change the mappings
Count from 1 upwards for each label, and cancel out the ones you don't want by replacing that number with a zero. So for mine I used:
xinput set-button-map 9 1 2 3 4 5 6 0 0 0
(Remember, 9 is the number of my device)
Thank you for sharing this. It's good I learned that.@makerhacks
Some handy advice here - but I have to wonder: why buy such a fancy mouse if you don't want all those buttons?
It came with a pc
I'm all for that, then. No point buying another mouse if the one you've got works (mostly) fine.