Wiki Table of Contents

mouse tweaks

On this page:


(See also Add mouse functionality to solve problems with multiple buttons)

Adjust mouse movement

On some applications and in web browsers the mouse scroll speed may occasionally slow down considerably. This can be solved in the following manner:

1. Install imwheel using Synaptic or the command line.

2. Open up the config file:

leafpad ~/.imwheelrc

3. Paste these default settings into the file:-
—————-

".*"
None,      Up,   Button4, 3
None,      Down, Button5, 3
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5

—————-

4. Restart imwheel with

 imwheel --kill

5. Add last imwheel -kill command to Application autostart in Session and Startup so the mouse scroll speed works on start up.

—–

T/H to dantheman
v. 20170728

5 thoughts on “mouse tweaks”

  1. After using this tweak, I noticed that my back and forward button on a 5 button mouse was not working anymore. It appears that imwheel overrides the initial configs.

    To fix this you can launch imwheel with the following parameters :

    `imwheel –kill –buttons “4 5″`

    This cause imwheel to only control these 2 buttons (in this case scrolling)

    The codes can change depending on your mouse model, you can use the command `xev` to figure out which code belongs to which button.

    Reply
  2. This does not work for me. Specifically, the command: leafpad ~/.imwheelrc does not work. It comes back and says, “leafpad: command not found.”

    I am stuck.

    Reply
  3. @Derek Fitchner

    open your file manager, copy ~/.imwheelrc into it and press enter.

    It should now open the default text editor, in my case that was Kwrite (KDE)
    Then delete everything in that file, copy and paste what was posted above and click save.

    That’s it.
    Worked for me.
    I hope it helps you or anyone else for that matter 🙂

    Reply
    • Don’t forget to add imwheel to autostart

      – Open Autostart (start menu, type autostart)
      – klick add programm
      – Type imwheel –kill and click ok
      – in my case it now opened properties for imwheel
      – switch to permissions tab
      – check “is executable”, click ok
      Autostart done.

      Reply
    • Another alternative is to just create a the text file. if it hasn’t been created. with the name
      .imwheelrc
      in the
      /home/Username/
      directory and copy the stuff from above into it

      Reply

Leave a Comment

Do NOT follow this link or you will be banned from the site!