What I've tried:

xmodmap -e "pointer = 3 2 3"
xmodmap -e "LeftMouse = RightMouse"

What am I doing wrong?


LeftMouse and RightMouse probably are not actually keycodes. You can see this using "xmodmap -pk" to print the table of known/assigned keycodes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.