My mouse wheel has stopped scrolling up and down

My mouse wheel has stopped working. It doesn't scroll up and down when previously it worked. How can I configure what each button of the mouse does? I use Ubuntu 10.10.


I was using a Logitech M510 wireless bluetooth mouse and was experiencing this issue with Ubuntu 18.04. I noticed that xev was not detecting any events for the scroll. To solve my issue, I turned off the mouse and then turned it back on and it worked.


How can I configure what each button of the mouse does?

You can check if your hardware is defect by running xev. Open a Terminal via Applications → Accessories → Terminal and type xev. A small white window should appear. When you move your cursor in that window, the command line output will tell you what x.org things your mouse is doing:

alt text

Button 4 in this example refers to scrolling up. If you don't get any output when scrolling, it may be your mouse is just broken.

When testing this, please ignore the output that is generated by your mouse moving around.

If you know your mouse isn't broken, and xev still doesn't give you any indication of the scroll wheel - if for example the mouse works on another computer, you are experiening a bug. In this case, read the Ubuntu Wiki's article on how to report bugs and file it against X.org. Make sure to include all details in your bug report, plus how to reproduce the error.

Be absolutely certain that your mouse works before filing a bug.


How can I configure what each button of the mouse does?

You can use btnx Install btnx to re-assign your mouse buttons. This will only work if they are detected properly.

alt text

The program will ask you to go through each of your buttons to configure them. Note: If xev doesn't recognise the scroll will, this program will not recognise it either.