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

1 thought 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.


Leave a Comment

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