How do I mapping Ctrl+Middle to Right-Click in X?

I aware "window manager"+"xdotool" maybe is a way,but such things now working for window manager itself and also possible more unexpected behavior.


Use xbindkeys and xvkbd. ~/.xbindkeyrc

"xvkbd -text '\m3'"
   control + b:2
  • Your answer(tell me two powerful tool) is useful for me,but not for this question.I want do native mapping as xmodmap ,not run a shell command.
    – illiterate
    May 22 '18 at 20:06
  • Then use the source, Luke! May 23 '18 at 9:46

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.