LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-19-2005, 11:38 PM   #1
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Rep: Reputation: 15
Installing 3 Button Mouse


Hello guys, I really need your help. This problems are consumming my existency and I can't get them fixed. I doesn't matter how much I read about the matter it doesn't seem that I'm understanding the right way to do it.

1) My first problem is with my mouse. For some strange reason when I'm in "Konqueror" and I right click my mouse is sending me back to the previous page or folder I was browsing.

2) I have a "3 Button + wheel" Cordless Mouseman Logitech mouse that I can't get the Thumb button to work properly. What I want to do is make the mouse work like in the windows environment. I want that when I'm browsing the internet and I press that "Thumb button",I want to go back to the previous page I was browsing. seems to me that what I want my "Thumb Button" to do is done by button 3 "right click" in my mouse and button 8 which is the "Thumb button" doesn't do anything.

I did the "xev" of my mouse to see if all the buttons generated some information and this is what I can gather from it;

Button 1 = Physical Left Click
Button 2 = Physical Wheel Click
Button 3 = Physical Right Click
Button 4 = Scroll Wheel UP
Button 5 = Scroll Wheel Down
Button 8 = Thumb Button.

Jose

Last edited by jmr0311; 12-19-2005 at 11:40 PM.
 
Old 12-20-2005, 04:33 AM   #2
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Hi Jose,

There is a utility called xmodmap. This utility swaps what the button does. So, if you want to swap button 3 for button 8, the command would look like:
Code:
 xmodmap -e "pointer - 1 2 8 4 5 3"
This is only a guess, and may well make things worse. The best you can do is search google.com/linux for your mouse, and see how other people have got it working. I had problems with the M$ optical explorer 5-button mouse, and searching got it working no problems.

You may also want to check if "Full HID support" is enabled in your kernel, as this supports many 'complicated' mice.

Hope that helps,

Rhys
 
Old 12-20-2005, 04:34 AM   #3
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Argh, that should be
Code:
 xmodmap -e "pointer = 1 2 8 4 5 3"
 
Old 12-20-2005, 06:23 AM   #4
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Original Poster
Rep: Reputation: 15
Thank you birdseye for your reply. I've done tons of search and found around 5 different links with info on this matter. But I was hoping that maybe somebody knows something that hasn't being covered yet and that maybe what I'm lacking in my system. I have played with the xmodmap utility to remap my buttons but with no success what so ever.

Jose
 
Old 12-20-2005, 06:28 AM   #5
birdseye
Member
 
Registered: Mar 2005
Location: Wales, UK
Distribution: Gentoo, Debian, Ubuntu
Posts: 60

Rep: Reputation: 15
Sorry I can't help any further. My solution was also to change to ubuntu, as it picks up my mouse with no setup whatsoever!

Good luck.
 
Old 12-23-2005, 04:19 PM   #6
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Original Poster
Rep: Reputation: 15
Hi Guys,

I really need your help an after countless hours of searching my problem I haven't being able to find a solution to my problem.

I'm another one of those that still fighting the mouse configuration problem. Trying to set my mouse to work in Linux like the way it works under windows. So far I've being able to have all the buttons in my mouse working with exception of the "Left Thumb button" capabilities of making my browser to go "BACK".

This are the things that I've done so far,

I place a file name (.xintrc) in my home directory with this information:

Quote:
imwheel -k -p -f -b "89"
xbindkeys &
and another file called (.xbindkeysrc) with this information:

Quote:
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x10 + b:8
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x10 + b:9

Also inside this directory ~/.kde/Autostart/ I place the same two files I describe above. The other locations where I have some codes place in my intent to solve this problem are in this directory (/etc/X11/);

Quote:

XF86Config

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "9"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
EndSection

and in this folder (/etc/X11/xinit.d/) there is a file called "mouse_buttons" and I place this codes inside there;

Quote:
xmodmap -e 'pointer = 1 2 3 6 7 4 5 8 9 10'
imwheel -f -k -b "89"
xbindkeys &

I did some trial and error in re-mapping the buttons in X and I came to the conclusion that I have to keep this part of the configuration at least like this, ("pointer=1 2 3 6 7 4 5) in order for my other buttons of my mouse to work correctly. I ran "xev" in my system with the intention of knowing which button code was trigger when I pressed the "Thumb button" and this is the code that is generate everytime ( button code = 8). So I know that number 8 correspond to this button in the eyes of X environment when you pressed it on your mouse.

I also install this program (xvkbd in an another attempt to solve my problem but with not much luck. The strange thing is that some times my "Thumb Button" like I wanted to which is "back" on the internet but sometimes all it does is scroll the page up one line everytime I press the button. This is very strange and it puzzles me incredibly and here is where I need your expertice in helping understand and fix my problem. Thank you in advance for all your help GUYS. I'm going to be eternally grateful.

Jose
 
Old 12-23-2005, 07:16 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I have renamed this thread to give it a more meaningful title.
 
Old 12-24-2005, 10:52 AM   #8
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Original Poster
Rep: Reputation: 15
BUMP,

What's going on Guy's? Nobody using KDE has any problem with the mouse in this forum. I can't beleive I'm the only one having all this trouble setting my mouse. Please, if anyone has any inputs about what they did, please share it with me.
 
  


Reply



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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
3 button mouse (scroll button) Spyiish Slackware 24 07-23-2005 01:37 PM
Mouse setup problems for a 8 button mouse. Devboy Linux - General 3 12-25-2004 04:53 PM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM
4 button, mouse wheel USB mouse DigiCrime Linux - Hardware 1 12-11-2002 04:15 PM

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

All times are GMT -5. The time now is 12:44 AM.

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