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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-17-2006, 02:40 PM
|
#1
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Rep:
|
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.
|
|
|
05-17-2006, 05:55 PM
|
#2
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
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.
|
|
|
05-17-2006, 07:04 PM
|
#3
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
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
|
|
|
05-17-2006, 07:38 PM
|
#4
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
still not working, unfortunately..
any other ideas?
i have to mess around with it some more
|
|
|
05-17-2006, 08:59 PM
|
#5
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
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"
|
|
|
05-18-2006, 09:10 AM
|
#6
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
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
|
|
|
05-18-2006, 12:00 PM
|
#7
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
Yes, the protocol will matter.
|
|
|
05-18-2006, 01:29 PM
|
#8
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
05-18-2006, 02:10 PM
|
#9
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
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.
|
|
|
05-18-2006, 02:58 PM
|
#10
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
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?
|
|
|
05-19-2006, 02:54 AM
|
#11
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
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.
|
|
|
05-19-2006, 10:28 AM
|
#12
|
LQ Newbie
Registered: May 2006
Location: Sayreville, NJ
Distribution: SUSE 10.0
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
05-19-2006, 11:33 AM
|
#13
|
Member
Registered: Oct 2004
Distribution: Debian Testing
Posts: 171
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|