This works for my MX510 running fiesty 7.04
backup xorg.conf naming the backup with an identifier such as date, name, pets name...
Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.<my_backup_name>
edit xorg.conf
Code:
sudo gedit /etc/X11/xorg.conf
copy this code over your existing mouse code
the red indicates code that makes this all work
Code:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 4 5 6"
EndSection
with this mouse and fiesty, the auto protocol is recommended
the ZAxixMapping tells the wheel to emulate the up/down scroll/cruise buttons
the order of the mapping is crucial - see below
save your changes
close the file
restart X
The screen will go black for a second or 2 then you'll see a message about running local scripts. This may happen very quickly or it may take anywhere between a few seconds or minutes. You will be placed back at the login screen. If you haven't done this before, don't worry about losing this page. Open FF (don't know if this works with other browsers) and click Restore Session. It will take you back to this page.
That's it! Done!
Now, test the changes
Open a browser window and open a few urls in the same tab.
Test all of your buttons.
The only ones that don't work (for me) are the second button from the bottom of the wheel and pressing the wheel to get smooth scrolling, but I'm working on that one.
The button mapping is as follows:
Code:
1 - left click
2 - middle click/scroll up/scroll down
3 - right click
4 - button above the wheel: scroll up
5 - button directly below the wheel: scroll down
6 - lower side button: go back
7 - upper side button: go forward
8 - the zen button: nothingness
Seems like the order of buttons in the mapping is crucial. If you just run 1 2 3 4 5 6 7 you won't get all the buttons to work. However, if this is a setting that is unique to particular computers then you should try different orders until you get them all to work.
If this is a dismal failure then restore your backup. You did make a backup, didn't you?
Code:
sudo cp /etc/X11/xorg.conf <my_backup_name> /etc/X11/xorg.conf
06/27/2007 - After reinstalling fiesty, I enabled this code for the mouse. I found that when button 4, scroll up, was pressed at the top of a page it would become button 6, which is "go back." I test this with xev to confirm. I didn't see this on the pre-reinstall. Let me know if you experience this problem.
bobland