How to disable "thumb" mouse buttons?

Hi,
I’m trying to disable the left side mouse buttons as they are super sensitive and all the time I get some page up/down when I just don’t need is most.

I tried to fiddle around with an extra file in /etc/X11/xorg.conf.d but always ended with kde not starting.

What I’ve got here is:
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Cherry GmbH CHERRY Wireless Device Mouse id=10 [slave pointer (2)]
⎜ ↳ Cherry GmbH CHERRY Wireless Device Consumer Control id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Cherry GmbH CHERRY Wireless Device id=9 [slave keyboard (3)]
↳ Dell WMI hotkeys id=12 [slave keyboard (3)]
↳ Cherry GmbH CHERRY Wireless Device Consumer Control id=13 [slave keyboard (3)]

and
xinput query-state 10
2 classes :
ButtonClass
button[1]=up
button[2]=up
button[3]=up
button[4]=up
button[5]=up
button[6]=up
button[7]=up
button[8]=up
button[9]=up
ValuatorClass Mode=Relative Proximity=In
valuator[0]=2484
valuator[1]=854
valuator[2]=0
valuator[3]=3060

with buttons 8 and 9 as the ones in question.

Any help would be very welcome. Thx!

Hello,

Have you seen this xorg - How to disable the Forward/Back buttons on my mouse - Unix & Linux Stack Exchange ?

Thanks, that’s the solution and as simple as a creating the 2 lined file

~/.Xmodmap:

! disable mouse thumb buttons 8,9
pointer = 1 2 3 4 5 6 7 0 0 10

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.