Xubuntu 20.04 guest running in VirtualBox on top of Windows 10
Wheel scrolling was too slow, so I installed imwheel
as recommended on Increase mouse wheel scroll speed (and similar resources) and entered the following in ~/.imwheelrc
(to only change the behaviour in VSCode and Firefox):
"^Navigator$"
None, Up, Button4, 4
None, Down, Button5, 4
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
Shift_R, Up, Shift_R|Button4
Shift_R, Down, Shift_r|Button5
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Control_R, Up, Control_R|Button4
Control_R, Down, Control_R|Button5
"^code$"
None, Up, Button4, 4
None, Down, Button5, 4
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
Shift_R, Up, Shift_R|Button4
Shift_R, Down, Shift_r|Button5
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Control_R, Up, Control_R|Button4
Control_R, Down, Control_R|Button5
Unfortunately, it made the scrolling very inconsistent. One wheel "tick" will scroll the screen a certain number of lines and the next will scroll by a different amount.
How can this be fixed?