imwheel setting


Create config file


Create ~/.imwheelrc
".*"
None,    Thumb1, Alt_L|Left
None,    Thumb2, Alt_L|Right
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

Install imwheel

sudo apt install imwheel

Update imwheel config to run on startup


Update /etc/X11/imwheel/startup.conf
...

# Set this to "1" to have imwheel start along with your X session.
IMWHEEL_START=1
IMWHEEL_PARAMS='-b "4 5"'

...

Start imwheel

imwheel -k -b "4 5"

Reference

  • https://devlog.jwgo.kr/2019/01/31/imwheel-and-what-is-X11/
  • https://askubuntu.com/questions/421645/imwheel-destroys-back-forth-navigation-buttons-from-my-mouse