I'm looking for a way to map a mouse button to simulate the right click (contextual menu) in Ubuntu 13.10. In windows I can achieve this with AutoHotKey in an easy way, just by adding this line
(XButton2::LButton)
to the script file.
By executing xev
in the terminal, I know that the physical button of my mouse is detected with id=11
. I wonder if there is a way in Ubuntu to map button:id=11
to button:id=3
, or something like that.