滚轮滚动与 imwheel 不一致

滚轮滚动与 imwheel 不一致

Xubuntu 20.04 客户机在 Windows 10 上的 VirtualBox 中运行

滚轮滚动太慢了,所以我imwheel按照建议安装了增加鼠标滚轮滚动速度(和类似资源)并输入以下内容~/.imwheelrc(仅更改 VSCode 和 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

不幸的是,它使滚动变得非常不一致。滚轮一次“滴答”将使屏幕滚动一定数量的行,而下一次又将滚动不同的行数。

如何修复此问题?

相关内容