How to change my mouse wheel scroll rate?

99,927

Solution 1

The fix for me for this (I had it for months) was pretty surreal and like most folks I didn't believe it until I did it:

Some MS mice have a scrollwheel bug.

Try unplugging the USB cable / dongle then plug back in.

Also, I noticed that if you have the dongle plugged in to the computer and the mouse has an on-off mechanism then you can just turn the mouse off and back on. That resets the data link between the mouse and dongle.

:)

Solution 2

I wanted to do this too, and I figure I most often want to do it in a web browser (where else do you really mouse-wheel scroll a great deal?)

For Google Chrome

One can no longer change the scroll amount with command line parameters. However, you can use this add-on extension: https://chrome.google.com/webstore/detail/chromium-wheel-smooth-scr/khpcanbeojalbkpgpmjpdkjnkfcgfkhb?utm_source=plus

For Firefox

  1. In the url field, type about:config.
  2. Search for the following settings and change their values as desired:

    mousewheel.system_scroll_override_on_root_content.enabled
    mousewheel.system_scroll_override_on_root_content.horizontal.factor
    mousewheel.system_scroll_override_on_root_content.vertical.factor
    

Solution 3

The option to configure mouse wheel speed in chrome seems to have been removed, however the Chromium Wheel Smooth Scroller extension seems to work really well.

Solution 4

From triaged bug #619403 on mouse-wheel acceleration against xorg-server with a link to this patch you can see there is work in progress.

In addition there is a Wiki on how to configure input devices that gives you ideas on what is possible at present:

Use xinput to show setting of your input devices:

xinput --list gives you information on your hardware xinput query-state "name of device" lists the current settings (including mouse wheel!)

Only after you know how your mouse is set up you are able to change these setting using xinput with the option appropriate for your device.

Solution 5

This was also annoying me.

This following is one option quoted verbatim from a comment here

sudo apt-get install imwheel

place the following in ~/.imwheelrc

"^google-chrome$"
None, Up, Button4, 2
None, Down, Button5, 2

(replace 2 by the number you want to multiply scrolling by)

$ imwheel
  • I added imwheel to my startup applications
  • I found the mutliplier 2 to be about right.

Update: I found that the following option actually disabled Ctrl+Scroll to zoom, which I quite like.

Share:
99,927

Related videos on Youtube

loonix
Author by

loonix

Updated on September 17, 2022

Comments

  • loonix
    loonix over 1 year

    I'm using Chrome, and the scroll rate is like 3 lines, and it's painfully slow. My finger gets tired really quickly on long pages. System → Preferences → Mouse lacks any scroll wheel configuration options.

  • user6465
    user6465 over 13 years
    how do you apply this patch?
  • Takkat
    Takkat over 13 years
    If not for testing or contributing it is generally not a good idea to patch Xorg server. If you don't know exactly what you're doing and something goes wrong you may end up with a non-responsive system.
  • Sheldon
    Sheldon over 12 years
    Another side-effect is that this affects all mouse wheel events, not just scrolling. E.g. if you ever use the mouse wheel to change tabs this will ruin that functionality :)
  • ttnphns
    ttnphns almost 11 years
    On firefox 17 and up, "mousewheel.withnokey.sysnumlines" and "mousewheel.withnokey.numlines" are both deprecated. The new settings' names is: "mousewheel.system_scroll_override_on_root_content.enabled", "mousewheel.system_scroll_override_on_root_content.horizonta‌​l.factor" and "mousewheel.system_scroll_override_on_root_content.vertical.‌​factor". You can see it here: bitbucket.org/cat_in_136/configuration-mania/issue/101/…
  • DarenW
    DarenW over 10 years
    Fixed it for me. My scroll rate was way too fast, not too slow, but same solution. I have a KVM switch to go between a Ubuntu machine and Windows 7. The problem returns every time I KVM back to the Ubuntu. Give the mouse USB doodad few seconds of freedom, and the problem is gone.
  • Michael Butler
    Michael Butler over 10 years
    According to a comment below, --scroll-pixels is deprecated and may not be available for chrome anymore. in that case, see this extension: chrome.google.com/webstore/detail/chromium-wheel-smooth-scr/‌​…
  • Hery
    Hery about 10 years
    I can't believe it. This fixes it for me as well.
  • rlib
    rlib almost 10 years
    Fixed MS Wireless Mobile Mouse 1000, FCC ID: c3k1452 model 1452
  • nha
    nha almost 10 years
    +1 I was skeptic too, but it works. When in doubt with MS, reboot.
  • lepe
    lepe over 9 years
    In my case, just turning on and off my mouse worked.
  • Moshe Katz
    Moshe Katz over 9 years
    Worked for me with a Logitech M705 Marathon Mouse.
  • oerdnj
    oerdnj over 9 years
    Gosh, thank you! (New Wireless MS Natural Keyboard & Mouse)
  • Anwar
    Anwar over 9 years
    This answer don't fit with general situation
  • Michael Durrant
    Michael Durrant over 9 years
    Thus your downvote. The many up-voters might diagreee but that's fine. Everyone gets one vote !
  • SpiRail
    SpiRail almost 9 years
    works for Microsoft Scuplt economical mouse. Would be nice to know if something specific causes this and if the reconnect can be automated somehow so i don't have to reach under the desk.
  • thorne51
    thorne51 almost 9 years
    Microsoft Mobile Mouse 4000 here. On/Off switch didn't work but unplugging the dongle for a couple of seconds did the trick. Weird indeed
  • Steven C. Howell
    Steven C. Howell over 8 years
    Have a look at this similar post: askubuntu.com/a/621140/385212, it demonstrates how to still use Ctrl+Scroll to zoom, etc.
  • Jeff Puckett
    Jeff Puckett about 8 years
    this doesn't seem to work any longer :(
  • Frank Nocke
    Frank Nocke over 7 years
    For the impatient, regarding the Chromium Smooth Scroller: Settings that worked well for me (trusting you want things faster than default, too): Step Size: 100, Smoothness (forepart): 0, Smoothness: 68, Acc Sensitivity: 115 and (much further down): Bouncy Edge: 0 (irritating gimmick imho)
  • Jamie Hutber
    Jamie Hutber over 7 years
    This worked in chrome, however any other application it now selects the text rather than scrolling the window :(
  • Frank Nocke
    Frank Nocke over 7 years
    Why does that plugin „require“ full access rights to every web page I read?
  • Frank Nocke
    Frank Nocke over 7 years
    Thanks for the startup applications advice. I was digging around „upstart“ which of course is way to early in the process...
  • sabujp
    sabujp over 7 years
    It's matching something in the window title so it needs to be "Google Chrome", not sure if it's case sensitive but I assume it is and also don't limit your window title regex with ^ and $. I think both google-chrome and imwheel need to be restarted every time there's a change in your imwheel config. You can get your window title by using "xwininfo" and clicking on the window. Also I actually found that a factor of 3 is better than 2 but 4 was too fast.
  • Bert Hekman
    Bert Hekman about 4 years
    I've created a simple chrome extension called Scroll Speed in which you can set the scroll factor. Can be found here: chrome.google.com/webstore/detail/scroll-speed/… It has much better performance than the "smooth scroll" extensions I've tried to fix this problem.
  • Marco Massenzio
    Marco Massenzio almost 4 years
    FWIW this works just fine (Ubuntu 20.04), but it needs to use imwheel -kill to enable the changes (just running imwheel will have no effect). I use .* as the selector.