In windows I used X-Mouse Button Control to accomplish this, but I can't find a method of doing It in linux.
My main mouse is a logitech m510 which has two thumb buttons on the side, which are buttons 8 and 9.
the closest i've gotten is by using xbindkeys and xte.
~/.xbindkeysrc:
#scroll-up-attempt
"xte 'key Up'"
b:9 + Release
#scroll-down-attempt
"xte 'key Down'"
b:8 + Release
But I want continuous scrolling when I press the button, not just one key movement when I press and release the button... Help?
" while { xinput --query-state 9 | grep -q "12\]=down"; }; do xte 'mousedown 4' 'sleep 1' 'mouseup 4' ; done " b:12