I am running Xubuntu 18.04 kernel version 5.0.0-23-generic and using a cheap microsoft usb mouse. I also have setup imwheel with the following settings:
None, Up, Button4, 3
None, Down, Button5, 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
as per this tutorial for slow scroll speed:
when I resume from suspend the scroll wheel no longer works.
A tedious workaround I found is to unplug and replugin the usb receiver. This will bring the scrolling function back, but will not resume the imwheel settings above--the scroll speed is super slow. To get back my scroll speed settings I have to type in console:
imwheel --kill to restart my imwheel settings.
Is there anyway to automate this process? My goal is to have normal scrolling when resuming from suspend without having to go thru steps above.
I am still very new to linux so any help is greatly appreciated.
EDIT: prior to removing and replacing receiver, Chrome will scroll albeit extreeeemely slowly, but other programs, such as Thunderbird will not scroll at all.