Disabling Additional Mouse Buttons in Ubuntu Linux by makerhacks

View this thread on steempeak.com
· @makerhacks ·
$0.47
Disabling Additional Mouse Buttons in Ubuntu Linux
![Screenshot from 2018-05-29 14-11-02.png](https://cdn.steemitimages.com/DQmYSmaqKEEjWCoGZ8KXDxLQcvVXX1bAAL54FJH6kDHjKH5/Screenshot%20from%202018-05-29%2014-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)
👍  , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id50,854,249
authormakerhacks
permlinkdisabling-additional-mouse-buttons-in-ubuntu-linux
categorylinux
json_metadata"{"format": "markdown", "image": ["https://cdn.steemitimages.com/DQmYSmaqKEEjWCoGZ8KXDxLQcvVXX1bAAL54FJH6kDHjKH5/Screenshot%20from%202018-05-29%2014-11-02.png"], "tags": ["linux"], "app": "steemit/0.1"}"
created2018-05-29 20:15:06
last_update2018-05-29 20:15:06
depth0
children4
net_rshares116,855,047,085
last_payout2018-06-05 20:15:06
cashout_time1969-12-31 23:59:59
total_payout_value0.444 SBD
curator_payout_value0.022 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length861
author_reputation36,122,498,173,027
root_title"Disabling Additional Mouse Buttons in Ubuntu Linux"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (24)
@turkishcrew ·
Thank you for sharing this. It's good I learned that.@makerhacks
properties (22)
post_id50,855,771
authorturkishcrew
permlinkre-makerhacks-disabling-additional-mouse-buttons-in-ubuntu-linux-20180529t203042257z
categorylinux
json_metadata"{"app": "steemit/0.1", "tags": ["linux"], "users": ["makerhacks"]}"
created2018-05-29 20:30:45
last_update2018-05-29 20:30:45
depth1
children0
net_rshares0
last_payout2018-06-05 20:30:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length64
author_reputation11,162,919,111,508
root_title"Disabling Additional Mouse Buttons in Ubuntu Linux"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@winstonalden ·
Some handy advice here - but I have to wonder: why buy such a fancy mouse if you don't want all those buttons?
properties (22)
post_id50,934,598
authorwinstonalden
permlinkre-makerhacks-disabling-additional-mouse-buttons-in-ubuntu-linux-20180530t104327246z
categorylinux
json_metadata"{"app": "steemit/0.1", "tags": ["linux"]}"
created2018-05-30 10:43:30
last_update2018-05-30 10:43:30
depth1
children2
net_rshares0
last_payout2018-06-06 10:43:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length110
author_reputation22,967,361,763,386
root_title"Disabling Additional Mouse Buttons in Ubuntu Linux"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@makerhacks ·
It came with a pc
properties (22)
post_id50,972,364
authormakerhacks
permlinkre-winstonalden-re-makerhacks-disabling-additional-mouse-buttons-in-ubuntu-linux-20180530t163109228z
categorylinux
json_metadata"{"tags": ["linux"], "app": "steemit/0.1"}"
created2018-05-30 16:31:09
last_update2018-05-30 16:31:09
depth2
children1
net_rshares0
last_payout2018-06-06 16:31:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length17
author_reputation36,122,498,173,027
root_title"Disabling Additional Mouse Buttons in Ubuntu Linux"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@winstonalden ·
I'm all for that, then. No point buying another mouse if the one you've got works (mostly) fine.
properties (22)
post_id51,011,008
authorwinstonalden
permlinkre-makerhacks-re-winstonalden-re-makerhacks-disabling-additional-mouse-buttons-in-ubuntu-linux-20180530t223814809z
categorylinux
json_metadata"{"app": "steemit/0.1", "tags": ["linux"]}"
created2018-05-30 22:38:15
last_update2018-05-30 22:38:15
depth3
children0
net_rshares0
last_payout2018-06-06 22:38:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length96
author_reputation22,967,361,763,386
root_title"Disabling Additional Mouse Buttons in Ubuntu Linux"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000