I'm a spoiled KDE brat who must work with Windows a bit. Kwin, the KDE window manager, allows one to middle-click on any scrollbar in any application and the window will scroll to that location. I found a SU answer that describes how to Ctrl-click to scroll to position however is there any way to configure a middle-click for the same function? Note also that the Ctrl-Click does not work in Firefox.


  • Can't you just click on that location? Instead of adding a modifier? – Tamara Wijsman Mar 6 '12 at 22:38
  • @Tom: I suppose that you mean to Ctrl-Click that location. No, I have difficulty using the keyboard and the mouse at the same time. I prefer to mostly stick with the Keyboard, in KDE with Vimperator this is easy, but Windows seems to be very mouse-dependent. Using both at the same time is just abut out of the question. – dotancohen Mar 7 '12 at 11:49
  • No, just click on the location. No Ctrl, no keyboard, no middle, no magic; just click... – Tamara Wijsman Mar 7 '12 at 19:43
  • Tom, I could repeatedly click on that location to get the scrollbar there eventually, but that might require tens of clicks on a very long document. I am looking to get there in a single click, like KDE offers. – dotancohen Apr 6 '12 at 14:00
  • 1
    Not a spoiled brat. Just someone used to getting their key bindings the way they want them to, instead of each individual app telling you what to do. – phyrfox Oct 21 '14 at 10:04

(I know this is an older question but wanted to share anyway since it was unanswered.)

This can be done with Firefox. I'll update this answer soon as I test settings in other browsers:

In Firefox (tested with v27.0)

  • In the address bar, type about:config and hit enter:

the about config window

  • In the search box, type middle to filter the search options:

typing in the search box filters the search

  • You'll see an option called middlemouse.scrollbarPosition -- note that it defaults to false:

the middlemouse.scrollbarPosition option

  • Right-click on the option and select Toggle, or double-click it:

toggling the option

  • The option will now read true and User set:

the option toggled to true

  • Restart Firefox and it should work as expected. I tested with a T650 touchpad.
  • Thank you. Firefox is the least of problems, with plugins such as Tridactyl. When I'm in Windows I usually need the functionality in whatever random PDF view is installed, MS Office, and other native Windows apps. – dotancohen Mar 24 '19 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.