[SOLVED] wireless optical mouse right click problem

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mrpeachy

[SOLVED] wireless optical mouse right click problem

Post by mrpeachy »

Hi

I installed LMDE a few days ago (have previously been using ubuntu and more recently crunchbang) and I like it except for a small mouse related niggle!

Sometimes, and for no reason that I can see, clicking the right mouse button produces some erratic behavior.
I am using a logitech cordless optical mouse. It has left and right buttons and a mouse wheel which also acts as a button.

I understand that in some instances the wheel button produces a "paste" function of any highlighted text. Sometimes I get this with the right mouse button. Other times the right mouse button doesn't do anything (except cause frustration when a section of highlighted text which I had intended to copy is deselected because the right click is screwy).

However, more times than not the right click works just fine.

LMDE didn't have an xorg.conf file in /etc/X11, so i made one and it has this section about the mouse

Code: Select all

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mouse"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 3 3 4 5"
EndSection
as i understand 1=left, 2=wheel button, 3=right, 4and5=scroll
the reason why i have buttonmapping 13345 was to see if the xorg.conf file was being implemented ... that should make the wheel button act as a right click correct?
but it doesn't...

does LMDE recognize the settings in xorg.conf when located in /etc/X11 ?

any suggestions about the screwy button behavior?

thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: wireless optical mouse right click problem

Post by willie42 »

http://ubuntuforums.org/showthread.php?t=532713


see if this will shed a little light on your issue.

hope it helps

Merry Christmas
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
mrpeachy

Re: wireless optical mouse right click problem

Post by mrpeachy »

willie42 wrote:http://ubuntuforums.org/showthread.php?t=532713


see if this will shed a little light on your issue.

hope it helps

Merry Christmas
Merry Christmas to you!
and thanks for the link, I hadn't come across that one yet
i've added some more bits to my xorg.conf and installed imwheel

i understand whats going on in the link you provided up until the last part... where it says to do this

Code: Select all

sudo gedit /etc/X11/Xsession.d/63xmodmap 
and put this in the file

Code: Select all

 killall imwheel
      xmodmap -e "pointer = 1 2 3 4 5 6 7"
      BINARY=$(which imwheel)
      $BINARY -k -p -b "6 7"
not sure what this part would do and I don't like following instructions entirely blindly...
so i'll have to research that one a little... seems like imwheel is being started with X and then this file is killing it?

anyway, one problem with my click problem is that it seems to be erratic, so ill have to see how it goes over the next while.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: wireless optical mouse right click problem

Post by willie42 »

If you keep having issues just come back and maybe some one else may have a solution better than the one I provided and I will also look some more if you continue to have issue with your Mouse
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
mrpeachy

Re: wireless optical mouse right click problem

Post by mrpeachy »

well I haven't been using the computer much over the last few days, but on the occasions when I have I haven't seen any rogue mouse button behavior... this is the xorg.conf that seems to be doing it for me:

Code: Select all

Section "InputDevice"
Identifier 	"USB Mouse"
Driver 		"mouse"
Option		"CorePointer"
Option 		"Protocol" 		"ExplorerPS/2"
Option 		"Device" 		"/dev/input/mice"
Option 		"ZAxisMapping" 		"4 5"
Option 		"ButtonMapping" 	"1 2 3 4 5"
Option		"Emulate3Buttons"	"false"
Locked

Return to “Hardware Support”