Disabling Additional Mouse Buttons in Ubuntu Linux

in #linux8 years ago

Screenshot from 2018-05-29 14-11-02.png

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)

Sort:  

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.

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.077
BTC 62136.92
ETH 1631.41
USDT 1.00
SBD 0.40