HomeMathComputingArtsWordsLiteratureMusictwitter facebook webfeed

How to Change Firefox Mouse Wheel Scroll Speed?

Advertise Here For Profit

Xah Lee, 2011-05-30

The change is immediate. You don't need to restart Firefox. This works in Linux too.

In a similar way, you can get mouse wheel to scroll one-page at a time. You can also adjust the mouse wheel tilt to do page up/down instead of horizontal scroll.

Set Mouse Wheel to Page Up/Down

This will make the scroll wheel to go by pages.

Tech Detail

Here's tech detail, from the official doc at Source kb.mozillazine.org.

The mousewheel variables has these 2 forms:

The ‹modifier key› key is one of: “withaltkey”, “withcontrolkey”, “withmetakey”, “withnokey”, “withshiftkey”

Type is one of: “action”, “numlines”, “sysnumlines”.

Possible Action Values

The important part is the values for the action. The action code determines whether you are scrolling by pixels, lines, pages, etc. Here are the possible values and meaning:

numlines

number of lines to scroll by if action is set to value 0, or pixels if action is set to value 4; otherwise, this value is ignored.

sysnumlines

use system preferences to determine how many lines to scroll by

blog comments powered by Disqus