Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Modify Mighty Mouse horizontal scrolling in Firefox Web Browsers
After installing Mighty Mouse and using it with Safari, I was greatly pleased with the horizontal scrolling around pages, using the scroll ball. Unfortunately on Firefox, the horizontal scrolling moved me forwards and backwards through my current page history. So left scrolling moved me to the previous page -- in theory. The problem for me, with this behaviour, is that I could not control how many pages forward and backward I would go, and often I would scroll forwards and backwards through pages when all I wanted to do was scroll up and down.

To most it may be obvious on how to fix this behaviour, but for the rest of us, you can easily change the horizontal scroll action in Firefox, so that the scroll ball will scroll you up and down, and left and right.

Simply launch Firefox. Enter about:config as the URL and hit enter. Then scroll down the page until you come to this entry:
mouse.horizscroll.withnokey.action user set integer 2
Change it to read:
mouse.horizscroll.withnokey.action user set integer 1
To do this, simply double click on the 2, and a pop-up window will appear; enter 1 and press Return. The only drawback to this (which I have not yet figured out how to solve) is that when I scroll left and right, the directions are reversed. This is still better for me than scrolling forward and backwards through pages.

Note: By changing the number to something other than 1, you can get interesting results ... for example, 4 will change the font size when you scroll left and right.

[robg adds: There was another hint in the queue on this same issue, from an anonymous submitter. Read the rest of the article for their solution. I figured I'd just list both in one spot, since I don't have a Mighty Mouse with which to test the settings.]

Anonymous wrote:

I recently got my Mighty Mouse and within thirty minutes, I discovered a major annoyance: horizontal scrolling in Firefox is interpreted as history forward/back. However, I found a solution to this problem on this page. Although this page is related to an alternative scroll pad driver (which adds scrolling capabilities to pre-2005 trackpads, BTW), the Firefox-related settings solved my horizontal scrolling problem with the Mighty Mouse as well.

In Firefox type about:config in the address bar. Change the following settings:
  • mousewheel.horizscroll.withnokey.action to 0
  • mousewheel.horizscroll.withnokey.numlines to 1 (determines horizontal scrolling speed; adjust to your preference. Higher values mean faster; negative is possible to reverse direction).
  • mousewheel.withnokey.numlines to 3 (determines scrolling speed, adjust to your preference)
  • mousewheel.withnokey.sysnumlines to false
Hope this helps!
    •    
  • Currently 2.60 / 5
  You rated: 2 / 5 (5 votes cast)
 
[55,432 views]  

Modify Mighty Mouse horizontal scrolling in Firefox | 9 comments | Create New Account
Click here to return to the 'Modify Mighty Mouse horizontal scrolling in Firefox' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: BrentT on Aug 26, '05 11:37:39AM

I like the ability to scroll through my history, but the MM wheel requires a very light touch to control. It also requires you to be careful to only scroll vertically when viewing a page. I had a Microsoft Optical Wireless 2.0 mouse that used a horizontal push on the scrollwheel; it worked quite nicely.

For the MM and FireFox I have been unable to get the speed through the history to change. It seems you go 2 or 3 pages at time unless you are very careful.



[ Reply to This | # ]
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: osxpounder on Aug 26, '05 02:01:02PM

My boss brought in a MM and I used it for a few minutes. Like Brent, I already enjoy using the MS Optical Wireless mouse, with a scroll wheel that has side-to-side action [with tactile feedback and a quiet, but audible 'click', too]. The boss would have bought me a MM, but I turned it down. I'm not happy with the sensitivity of the scroll ball, but what really gets me down is the squeezy-buttons on the sides of the mouse. Now that I've compared it with my MS mouse, I realize how good my mouse is [the keyboard that came with it's nice, too]. Thanks to CAlvarez over in the forums for recommending it to me!

---
--
osxpounder



[ Reply to This | # ]
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: BrentT on Aug 26, '05 02:11:13PM

I got the MM because I was having problems with the Microsoft Mouse. It would track fine but I had continued problems with clicks being recognized. I tried all sorts of uninstalls, installs, and pref purges to no avail. I have been happy with the MM but would like more control of the buttons.



[ Reply to This | # ]
Also for two-finger scrolling
Authored by: thaddeus on Aug 26, '05 11:46:48AM

This hint will also work for those who use two-finger scrolling to scroll horizontally on the trackpad.



[ Reply to This | # ]
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: beeker on Aug 26, '05 12:20:01PM

>The only drawback to this (which I have not yet figured out how to solve) is that >when I scroll left and right, the directions are reversed. This is still better for me >than scrolling forward and backwards through pages.
In order to fix this problem with reversed horizontal scrolling, just change another variable on the about:config page. Simply change the value for "mousewheel.horizscroll.withnokey.numlines" to "1", and you'll be scrolling horizontally the way Apple intended.



[ Reply to This | # ]
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: tj2001 on Aug 26, '05 03:45:04PM

Thank you very much Beeker! This entire hint along with your help has cured my Firefox ailments :)

---
--- Just Me ---
:: Super Me I am ::



[ Reply to This | # ]
Post 1.0 Firefox doesn't suffer this issue
Authored by: oinkachoink on Aug 26, '05 05:22:09PM

Firefox builds newer than 1.0x (I think x = 6 as of this writing) meaning nightly builds or the Deer Park alpha release don't exhibit the back/forward on sideways scrolling issue. I'm not sure if it's a simply because the about:config defaults are different, or there was a patch made to the code, but I do know that it's no longer an issue.



[ Reply to This | # ]
web site for about:config
Authored by: NeutronMonk on Dec 05, '05 06:45:52AM

Yeah, the default behavior for horizontal scrolling in Firefox is a real pain on the new 'Book trackpads. While I think this behaviour should be defined in the GUI preferences, about:config is simple enough, and even better when you can see the whole list goodies buried in there- <a href="http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries">about:config entries</a>



[ Reply to This | # ]
Modify Mighty Mouse horizontal scrolling in Firefox
Authored by: bushwakko on Oct 09, '07 06:06:29AM

This works perfectly for the apple touchpad two-finger scrolling in linux also, title and tip should be changed to reflect this ;) sweet tip!



[ Reply to This | # ]