I have a mouse with a unusual mapping. I wish to change the right click button from B3 to B2, so far I'm using xbindkeys and I've managed to remap the back and forward buttons, but no luck with right click.
# Forward
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
b:8
# BACK
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
b:3
I tried variations of Shift + F10 but it didn't work:
"xte 'keydown Shift_L' 'key F10' 'keyup Shift_L'"
b:2