LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack 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: 101Reputation: 101
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 06:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration