How can I assign actions to all my mouse buttons?

Posted by torbengb on Ask Ubuntu See other posts from Ask Ubuntu or by torbengb
Published on 2010-12-31T18:45:55Z Indexed on 2011/01/01 8:59 UTC
Read the original article Hit count: 256

Filed under:

I have a mouse with lots of buttons, but it's not a mainstream make like Logitech. For Windows, I have a driver that lets me assign actions like close-window (Ctrl+W) or next-tab (Ctrl+Tab), but I don't have a Linux driver. Since Linux is so flexible, I thought perhaps there is a general way to do this, regardless of brand?

Update: Based on input from Cyrex, I installed and ran sudo apt-get install btnx which found several but not all mouse buttons.
Found: left, right, wheel, wheelclick, thumb fwd, thumb back.
Not found: wheel left, wheel right, thumb middle button.
Vendor ID is 0x04d9, Model ID is 0xa015.

© Ask Ubuntu or respective owner

Related posts about mouse