Page 1 of 1

mouse button mapping

Posted: Tue Mar 07, 2017 11:55 pm
by eben
ok so I have a mouse with a button 10, not really a 10 button mouse, but that's how linux sees the button. I checked with "xev" then I installed "xbindkeys" and created a file called...$HOME/.xbindkeysrc next I added this code in the file (per directioins of xbindkeys)...

"'mouseclick 1'"

than ran xbindkeys....didn't work.

Does anybody know of mouse button mapping tool that actually work within Mint 18.Mate?????
How do people set up a mouse with more than 3 buttons????

Re: mouse button mapping

Posted: Wed Mar 08, 2017 2:13 am
by eben
[SOLVED] what a pain in the a#@ to find that,,,

So I ran the command...


this gave a list of the input device, below is the one I wanted ...

UC-LOGIC Tablet WP1209U id=11

so than I ran...

xinput get-button-map

that gave a list of the buttons for that input device...

1 2 3 4 5 6 7 8 9 10 11 12 13 14

I wanted to change button 10 to act like a left mouse click which is button one so I changed 10 to 1 by running this...

xinput set-button-map 1 2 3 4 5 6 7 8 9 1 11 12 13 14

button 10 is now button 1

hope this help others, cause it took me hours to find this.

Re: mouse button mapping

Posted: Sat Mar 09, 2019 3:35 am
by crunchyhead
I am so glad you posted this...
I was going nuts looking for a solution to almost exactly the same problem!
I got nowhere with xbindkeys but this did the trick!
Thanks. :D