ive got problem with broken scroll wheel. (I know i shoud change mouse, its old). And i want to just disable wheel scroll but not middle button click.
I know that it is possible to do, but cant find that config file. (have no entry at xorg.conf)
This question came from our site for professional system and network administrators.
Ive found out how to configure that. Open terminal window:
find there yours mouse id number
ive got ID=8
You ll see there
they are counted by numbers 1,2,3,4,5,6,7 ...
now do that:
xinput get-button-map 8
you will got something like that
numbers 4 and 5 are for "mouse wheel up scroll" and "mouse wheel down scroll"
now we will disable them:
It looks like you can do that with the output from HAL and xev, then updating your xorg.conf.
They basically create a stanza for the mouse definition in the xorg.conf.d directory and null the wheel (which in my experience is usually button ID 5). Careful when following those instructions as it is also for disabling left and right click as well.