I am using the imwheel
program to change the default scrolling speed on Firefox when using i3
. Below is my configuration (where "Navigator" is the output of an xprop
command, found here, when clicking on a Firefox Window).
# Speed up Scrolling in Firefox
"^Navigator$"
None , Up, Up, 3
None , Down, Down, 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
I have found that on most websites, the desired behavior of "faster scrolling" is present, but on certain other websites, most prominently Youtube or Facebook Messenger, scrolling normally with my mouse wheel takes on different behavior. On Youtube, for example, when I click on a video, scrolling doesn't move the webpage up or down but instead changes the volume level. I need to click off the video with the middle button and then scroll to perform the expected scrolling behavior.
I know the issue is with my imwheel
configuration because on running pkill imwheel
, this issue goes away.
What is causing this issue? And what buttons on my mousewheel can I remap to avoid this behavior?
The man page for imwheel mentions that the "button spec" has numbers for different buttons on the mouse, but I'm not sure if the "Extra Buttons" are what I'm looking for.
I am running exec imwheel
on my i3 config file. Running imwheel -b "4 5"
so that only the scrolling buttons are affected similarly did not change anything about this issue.
xev
command and found that the states of my mouse are different when I do a regular scroll and when I press down on the scroll button and scroll. On Regular scroll, the "State" for Up and Down are:0x10_00
and0x08_00
respectively. On clicked scroll,0x12_00
and0x0a_00
. I'm unsure how to use this information for imwheel. – Ricardo Iglesias Apr 26 '20 at 16:41