http://gentoo-wiki.com/HOWTO_Advance...t_Intellimouse - that is what i followed to get it working in the first place but still the side buttons on the mouse dont work in kde

firefox fine - kde not fine
File: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 8 9"
Option "ButtonMapping" "1 2 3 6 7 10 11"
EndSection
That should give you working back and forward capability in Firefox with the side buttons, while preserving normal functionality of all your other buttons/wheels.
as it says though just firefox, more reading needs to be done i think
