Windows-like middle-mouse button behaviour? - eviltoast

On Windows, if you click MMB on some windows, your mouse cursor will turn into a little ↕️ icon, and then you can scroll by moving the mouse cursor up and down, with it going faster the further you drag away from the position it was originally at.

This is one (1) behaviour I miss from Windows. Hours upon hours of scroll-wheeling makes my joints quite tired.

But well. Linux is nothing if not customisable, so I’m wondering if there’s a way to recreate this behaviour on it.

I’m on KDE Plasma.

  • Axum@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    18 days ago

    OP, there are two parts to this.

    One is handles by your Desktop Environment for desktop scrolling outside of apps. Others have mentioned this.

    The other is handled directly by browsers.

    To enable this for browsers:

    Firefox: under about:config, the key general.autoScroll needs to be set to true

    Chrome:

    Chrome (and any electron based apps) needs to have the following additional flag added to launch with support for middle click scroll: --enable-blink-features=MiddleClickAutoscroll

    I would also advise you to map 2 of your mouse buttons to scroll up and scroll down, that way you can just hold a key down to scroll instead of shaking your mouse around using the autoscroll arrows.

    • Count Regal Inkwell@pawb.socialOP
      link
      fedilink
      arrow-up
      4
      ·
      18 days ago

      The Firefox one is enabled already. I don’t do Chrome(ium) unless I absolutely have no choice.

      … But yeah I’d like to enable it for other applications. Dunno if it is possible though.