[Ilugc] Changing mouse button settings

  • From: bala150985@xxxxxxxxx (Balasubramaniam Natarajan)
  • Date: Fri, 29 May 2015 10:45:17 +0530

Today I made a small blog post and though of sharing it with the
community.  If you have better suggestion do let me know.
Changing mouse button settings
 I have a wireless mouse which works partially.  When I say partially the
left click alone does not work in it.  It could be due to the fact that it
was used for many years.  However other aspects of the mouse works, like
the scroll wheel, middle click, right click and the pointer moves smoothly
across the screen.

The GUI based mouse setting in ubuntu could only allow you to choose
between a right handed mouse or a left handed mouse.  I wanted more, I
wanted the ability to say what button was left click and what button was
right click.  The idea was I need to make my middle click act as left
click.  If this could be accomplished I could again have a working mouse
with left, right click and scroll wheel.

The site mentioned below [1] came to the rescue.

[1]
https://wiki.ubuntu.com/X/Config/Input

This pictures shows that when I try to reterive the button settings for my
mouse it shows 1 2 3 4 all the way up to 13.  We are interested in 1 2 and
3 which corresponds to Left, Middle and Right.

So in the next xinput set-button-map command I replaced 1 2 3 with 1 1 3.
So this effectively made my left button and middle button do the work of
left click.


<http://2.bp.blogspot.com/-5s4OS1I-1aA/VWfzywvfPsI/AAAAAAAABOc/wptiAs7ctTY/s1600/xinput.jpeg>



http://bullet-bala.blogspot.in/2015/05/change-mouse-button-settings.html

-- 
Regards,
Balasubramaniam Natarajan
http://blog.etutorshop.com

Other related posts:

  • » [Ilugc] Changing mouse button settings - Balasubramaniam Natarajan