LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-17-2006, 02:40 PM   #1
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Rep: Reputation: 0
mouse problem - mapping buttons after upgrade


i have a 5 button mouse. i had it configured properly with the side buttons to browse forward and backward in firefox.

it was working fine for months until about 2 weeks ago, when i upgraded my computer from SUSE 9.0 to 10.0

after finishing, the mouse wouldnt work at all, so i switched the setting to the IMPS2 which is what it used to be on 9.0, somehow during the upgrade , it got changed.

the mouse functioned again but still will not recognize the side buttons..

i checked in the x11 config files, and made the correct modifications to what they were before, the correct configurations are still there with the buttons=7 and zaxis setting..

and imwheel and xmodmap are correct with the same setting as before..

but side buttons still will not work..

does SUSE 10.0 use a different file to keep the configurations for the mouse than 9.0 did? or has a parameter that worked in 9 been rendered invalid in 10.0?

i have tried just about everything i could think of.
any help would be appreciated..

Last edited by gts6; 05-17-2006 at 02:45 PM.
 
Old 05-17-2006, 05:55 PM   #2
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
Did SUSE change from XFree86 to Xorg? If so, that happened to me also. It took me awhile but I got it the way I like it by editing Xorg.conf to:
Code:
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"ExplorerPS/2"
	Option		"Buttons"	"5"
	Option		"ZAxisMapping"	"4 5"
	Option 		"ButtonMapping" "1 2 3 6 7"
EndSection
For imwheelrc, I have:
Code:
".*"
 None, Left,   Alt_L|Left
 None, Right, Alt_L|Right
 None, Up, Page_Up
 None, Down, Page_Down
Don't use xmodmap. I do it a little different than others so that I can scroll by pages in Opera, Nautilus and other apps.
 
Old 05-17-2006, 07:04 PM   #3
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
suse did change to Xorg. my xorg.conf i did change to my old settings to no avail already. but i notice yours is similar but different, i am gonna change mine now and give it a shot. i dont have the buttonmapping option in my current config, will try now.

thanks
 
Old 05-17-2006, 07:38 PM   #4
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
still not working, unfortunately..
any other ideas?

i have to mess around with it some more
 
Old 05-17-2006, 08:59 PM   #5
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
Did you restart X after making the changes? Did you start imwheel?
I have imwheel start automatically in Gnome with no arguements.
imwheel,
not imwheel -k -b "67"
 
Old 05-18-2006, 09:10 AM   #6
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
i have restarted x many, MANY times while changing these settings LOL

i am at work now, so i cant try anything else out now, but will mess around with it some more when i get home.. but thanks for showing me how you have yours working, it could come in handy later as an option to use some of those settings.

after looking back now at your xorg.conf file, i changed mine to those settings except for the protocol, i left mine at imps2, i wonder if i switch it to explorer if it will make a difference, guess i will have to try that next when i get home at lunch (i am lucky enough to work 3 blocks from home
 
Old 05-18-2006, 12:00 PM   #7
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
Yes, the protocol will matter.
 
Old 05-18-2006, 01:29 PM   #8
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
after changing the protocol, the settings you gave still didnt work. but after i switched the settings to this below:

Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "ButtonMapping" "1 2 3 6 7 4 5"

after that it did work. i had tried this setting a few times during testing settings, and it didnt work before, so i think my problem all along may have just been the protocol set wrong..

so it is now working fine, thank you for your help..

do you know what the setting is in imwheel to get the middle button click to close a tab in firefox? if this could be done, life will be just perfect.
 
Old 05-18-2006, 02:10 PM   #9
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
That is strange, that is how mine used to be in XFree86, but I had to change it to the way I have it for xorg.
You don't need to change anything for imwheel. In Firefox's location bar type:
about:config
Do a filter search for: middle
You will see a setting named: middlemouse.contentLoadURL
Change this value to false. The middle mouse click on a tab should now close the tab.
Double clicking on the setting should change it to false.

Last edited by SweetLou; 05-18-2006 at 02:12 PM.
 
Old 05-18-2006, 02:58 PM   #10
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
i would like to be able to click the middle button anywhere on the open page to close that tab, not have to drag mouse to top and click on the tab to close it. if i drag the mouse to the top where the tabs are, i may as well just click the close tab X while its there.

i think the firefox keystroke for closing a tab is CTRL+W, but how would i code that in the imwheelrc for the middle button?
 
Old 05-19-2006, 02:54 AM   #11
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
Oh, I see what you are saying. I don't have the x on tabs.
What you will need to do is change your .imwheelrc file for firefox. I am not willing to try these for you, you will need to learn on your own.
Besides the configuration I mention above ad another to your .imwheelrc. I think for firefox you will put something like
"mozilla"

then map button 2 on your mouse to cntl+w
imwheel used to come with a sample configuration, you can look through that to understand what to do.
 
Old 05-19-2006, 10:28 AM   #12
gts6
LQ Newbie
 
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14

Original Poster
Rep: Reputation: 0
the problem with that is all the sample configs in the imwheelrc help file have examples using all the other buttons, but not the middle one, i dont know how to address it. i know what up, dowm,left, and right are, but when i use the word "MIDDLE" it throws an error when loading imwheel. says middle is not valid or something, forgot the exact message.

is there guide somewhere that shows good info about configuring the imwheelrc? i tried searching on google, but keep coming up with the same exact one i already have that is in the man file. and the one in the man file is pretty cryptic in some areas, too.
 
Old 05-19-2006, 11:33 AM   #13
SweetLou
Member
 
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171

Rep: Reputation: 30
I also searched for more info when I was trying to configure my mouse and could not find any really good documentation. Sorry about that.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin KDM & MS scoll mouse solution (jumping mouse) otchie1 Linux - Hardware 2 03-02-2006 01:16 PM
(STRANGE) Mouse get's crazy when holding a key and moving mouse(Update to 2.6.10) the-copy Linux - Hardware 2 02-08-2005 12:07 PM
strange mouse behaviour with logitech pilot mouse in debian 3.0r2 g-string 3 Debian 0 11-12-2004 06:27 AM
new nvidia driver & mouse problems - odd errors produced, no mouse detected. UrbanSlayer Debian 4 07-03-2004 08:13 PM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:49 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