Having read through millions of replies I cannot find a fix to this problem. I've installed btnx in Ubuntu and am trying to configure the buttons with my Logitech MX1000 mouse. Note: before finding btnx, I tried xbindkeys and xvkbd which I couldn't get working, and have (hopefully) removed both of these.
The main problem I'm having is that the scroll wheel (up/down) is no longer working properly - instead it acts as a back/forward button in Firefox (except when there is no page to go back/forward to, then it scrolls OK).
In btnx-config, I have set the keycodes to KEY_UP and KEY_DOWN (because KEY_SCROLLUP/DOWN didn't seem to work). The scrolling side of things worked perfectly until I messed around to get the other buttons working
The lines added in my xorg.conf are as follows:
Using xev I have confirmed that scroll up/down are buttons 8 and 9.
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Buttons" "12"
Option "ZAxisMapping" "8 9"
Option "Resolution" "800"
Option "Emulate3Buttons" "false"
Any help would be greatly appreciated