Setting side mouse buttons to "Back" and "Forward" in browser, nautilus, etc

view story

http://askubuntu.com – I have a Cyborg R.A.T.3 mouse with two side buttons. In Windows, by default, those side buttons work as the "Back" and "Forward" buttons in apps like Firefox, Chrome, Explorer, etc. How do I do the same for Ubuntu? My xorg.conf entry for the R.A.T.3 looks like this: # RAT3 mouse Section "InputClass" Identifier "Mouse Remap" MatchProduct "Saitek Cyborg R.A.T.3 Mouse" MatchDevicePath "/dev/input/event*" Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 0 0 0 13 14" EndSection ...with the "Back" and "Forward" buttons on my mouse being 8 and 9 respectively. (HowTos)