Zend certified PHP/Magento developer

Trying to autoscroll on Linux Mint

I’m running Linux Mint and trying to get autoscroll to work, which means that when I press or hold down the scroll button on my mouse, I want to be able to get the page to scroll indefinitely by moving the cursor up or down, the way it does in Windows, but on all apps, not just on a browser with some extension.

Fortunately, I found this post, where someone provides a script with instructions on how make it run every time the button is pressed. However, when I tried running sxhkd and pressing the scroll button, it prints:

Could not grab key 2 with modfield 0: the combination is already grabbed.
Could not grab key 2 with modfield 2: the combination is already grabbed.
Could not grab key 2 with modfield 16: the combination is already grabbed.
Could not grab key 2 with modfield 18: the combination is already grabbed.

Apparently /var/log/Xorg.0.log is supposed to reveal what process already grabbed the key, and I think it’s cinnamon –replace based on the following lines (which were among a lot of other output), but I have no idea how to modify that process or what to do next.

[  1841.733]   Printing all registered grabs of client pid 1980 cinnamon --replace
grab 0x43e0021c (core), type 'ButtonPress' on window 0x4400003
[  1841.758]     detail 2 (mask 0), modifiersDetail 0 (mask 0)
[  1841.758]     device 'Virtual core pointer' (2), modifierDevice 'Virtual core keyboard' (3)
[  1841.758]     core event mask 0xcc
[  1841.758]     owner-events false, kb 1 ptr 0, confine 0x0, cursor 0x0
[  1841.758]   grab 0x43e0021d (core), type 'ButtonPress' on window 0x4400003
[  1841.758]     detail 2 (mask 0), modifiersDetail 2 (mask 0)
[  1841.758]     device 'Virtual core pointer' (2), modifierDevice 'Virtual core keyboard' (3)
[  1841.758]     core event mask 0xcc
[  1841.758]     owner-events false, kb 1 ptr 0, confine 0x0, cursor 0x0
[  1841.758]   grab 0x43e0021e (core), type 'ButtonPress' on window 0x4400003
[  1841.758]     detail 2 (mask 0), modifiersDetail 16 (mask 0)
[  1841.758]     device 'Virtual core pointer' (2), modifierDevice 'Virtual core keyboard' (3)
[  1841.758]     core event mask 0xcc
[  1841.758]     owner-events false, kb 1 ptr 0, confine 0x0, cursor 0x0
[  1841.758]   grab 0x43e0021f (core), type 'ButtonPress' on window 0x4400003
[  1841.758]     detail 2 (mask 0), modifiersDetail 18 (mask 0)
[  1841.758]     device 'Virtual core pointer' (2), modifierDevice 'Virtual core keyboard' (3)
[  1841.758]     core event mask 0xcc
[  1841.758]     owner-events false, kb 1 ptr 0, confine 0x0, cursor 0x0