LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-26-2012, 01:08 PM   #1
sdfi
Member
 
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
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
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.)
 
  


Reply

Tags
assign, buttons, click, mouse



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:50 PM.

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