LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to map middle-click on mouse to left-click. (https://www.linuxquestions.org/questions/debian-26/how-to-map-middle-click-on-mouse-to-left-click-4175424085/)

sdfi 08-26-2012 01:08 PM

How to map middle-click on mouse to left-click.
 
The left click on my mouse has broken, so i would like to use the middle click button in it's place. I can do this on windows with autohotkey, but how can i do it on linux?

(and yes, i have a new mouse on the way.. but it's not here yet)

SecretCode 08-26-2012 05:31 PM

Code:

xinput set-button-map ...
should give you what you need.

Code:

man xinput
for more. (I think it's installed by default on most systems but if not should be in your repositories.)


All times are GMT -5. The time now is 12:23 AM.