Disable middle button on MSI2022 trackpad (ubuntu): ==================================================== This is a step by step process to disable the middle button on the MSI 2022 laptop I have. The commands given are specifically for the "MSI Prestige 15 A11SB" laptop, but will give notes on how to find it. *Really want the middle button disabled, just gives me problems like doing different functions that very between apps while I don't want though functions to happen. Like cutting text or opening or closing tabs or windows. *This is for x11, you will need to re do this porcess again for wayland -------------------------------------------------------- 1. First, find the track pad list from this command: xinput list Under "Virtual core pointer" It lists the technical name for the trackpad as: PNP0C50:00 06CB:CDAA Touchpad id=14 2. List the current button set up with command: xinput get-button-map 'PNP0C50:00 06CB:CDAA Touchpad' It gave the output of: "1 2 3 4 5 6 7". Tis is the deafult that all butons are assigneg the default vales. 3.I will replace the middle button to function the same (a.k.a merge with) the left button by this command: xinput set-button-map 14 1 1 3 4 5 6 7 The number 14 is the id of the touchpad, got from step 1. The second 1 within the commad is for the middle button to have the same function as the left button (also being the first 1). (It is also common to switch to something like 13 rather then 14. For the seccond most common number here is the command): xinput set-button-map 13 1 1 3 4 5 6 7 Now the middle button should not give me any more problems! ------------------------------------------------------------ Sources: https://techne.alaya.net/?p=19017 https://unix.stackexchange.com/questions/438725/disabling-middle-click-on-bottom-of-a-clickpad-touchpad https://browser.geekbench.com/v5/cpu/12458222 Date: February 21st, 2022