I apologize in advance if this has already been asked. I have searched for this solution for a couple hours now and could not find what I'm looking for.

I am primarily a Windows user. In Windows, if I scroll up or down with the mouse wheel in a text editor, the entire window moves. In Ubuntu, I notice that the mouse wheel causes the CURSOR to move, and the window only moves once the cursor reaches the edge of the window.

Is there a way to change this so that scrolling the mouse wheel causes the page to move while leaving the cursor in place?

EDIT: This happens in Sublime Text 3 as well as in Visual Studio Code

  • 2
    What are you scrolling in? Please edit your question and add details. If it is a text editor that you launch via the command line like vi or nano or emacs the scroll wheel will move the cursor. If in a GUI app like gedit or mousepad the scrolling should move the page and not the cursor. – Terrance Jan 16 at 23:02
  • @Terrance I updated the question – brianxk93 Jan 17 at 0:04
  • 1
    That is very strange. I have installed both, and those both scroll the window and not the cursor for me. I installed both in the snap environment. I am also running Ubuntu (Xubuntu) 18.04. There is no settings that I can see that adjust the scroll wheel to move the cursor and not the window. – Terrance Jan 17 at 4:57
  • 1
    @Terrance I remembered that I'm using a program called imwheel because without it my mouse's scrolling is unusable. I disabled imwheel and this problem no longer occurs, but the wheel is also just very semi-functional. Do you have experience with imwheel by any chance? – brianxk93 Jan 17 at 17:15
  • I don't have any experience in it, but that doesn't mean that I can't install it and take a look at the app and see what it is all about. – Terrance Jan 17 at 17:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.