Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 08-26-2012, 01:08 PM   #1
Registered: Oct 2011
Distribution: debian
Posts: 107

Rep: Reputation: Disabled
Exclamation 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)
Old 08-26-2012, 05:31 PM   #2
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
xinput set-button-map ...
should give you what you need.

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


assign, buttons, click, mouse

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Single left click picked up sometimes as double click? george-lappies Slackware 11 06-14-2011 04:35 AM
Left Mouse click problem mnord00 Linux - Desktop 2 09-28-2010 10:38 PM
Left mouse click on some apps mnord00 Linux - Hardware 3 09-27-2010 08:01 AM
middle mouse click is replaced by the dual click wanas Linux - Desktop 2 05-15-2009 04:53 PM
left click on kubuntu desktop (on laptop) brings up middle click menu =S darksmiley Ubuntu 2 06-14-2008 05:37 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration