Firefox Mousewheel Problem (Fix Found)

Firefox has started the most annoying bug. Everytime I scroll to the top of the page it sends be to the previous site I visited. Then in that previous site I have to scroll down just a bit and scroll back up and it takes me back to my original site. I have disabled all my plugins and am using the default theme. I have uninstalled it and renamed the .mozilla folder in my home directory so all my settings were gone (I am using Ubuntu 9.04 with Firefox 3.0.11). And it still does it. Then I edited the about:config file a number of times with no success. They were all default before. Which leads me suspect that it may be something in Ubuntu. There are a few reports of the bug. It seems that it only effects ps/2 mice. I guess this is a great opportunity for me to try chrome.

LINKS OF REPORTS
http://forums.mozillazine.org/viewtopic.php?f=7&t=1145865
http://support.mozilla.com/tiki-view_forum_thread.php?locale=fi&comments_parentId=376329&forumId=1
http://ubuntuforums.org/showthread.php?p=7543961
https://answers.launchpad.net/ubuntu/+source/firefox-3.0/+question/36040

THE NEW FIX
The problem is the KVM switch. I unplugged it and it stopped. Just going to use two mice instead.

THE OLD FIX
I have managed to fix the problem. It appears that it might be an x-org setting? See below:
http://www.linuxquestions.org/questions/linux-software-2/mozilla-firefox-mouse-scroll-wheel-behavior.-475209/

Here is what you need to do:
1. In the terminal type: sudo gedit
2. Enter password. This will give your text editor root privileges, which you will need.
3. Then open the xorg.conf file located at root level: etc/X11/
4. Add the following to the very end of the page:
Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “Protocol”    “auto”
Option “Device”     “/dev/input/mice
Option “Buttons”     “5”
Option “ZAxisMapping”  “4 5”
Option “CorePointer”
Option “SendCoreEvents” “true”
EndSection

5. Then save the file.
6.  Type in the terminal: sudo dpkg-reconfigure -phigh xserver-xorg
7. Reboot and reinstall your video drivers (System>Administration>Hardware Drivers).

Please let me know if there is an easier way. It is a pain to do this and xorg keeps resettling.

Published by

Jay Forrest

Jay N. Forrest is an IT professional, an ordained Humanist minister, and a Certified and Accredited Meditation Teacher.