I know, it's not the best means of sharing this, but since it appears to be a problem here: Here is a more general way of solving this. Additionally, the script activates natural scrolling.
#!/bin/bash set -eu id=$(xinput list | sed -n '/SynPS\/2 Synaptics TouchPad/s/.*id=\([0-9]\+\).*/\1/p') naturalScroll=$(xinput list-props "$id" | sed -n '/Natural Scrolling Enabled (/s/.*(\([0-9]\+\)).*/\1/p') click=$(xinput list-props "$id" | sed -n '/libinput Click Method Enabled (/s/.*(\([0-9]\+\)).*/\1/p') tap=$(xinput list-props "$id" | sed -n '/libinput Tapping Enabled (/s/.*(\([0-9]\+\)).*/\1/p') xinput set-int-prop "$id" "$naturalScroll" 8 1 xinput set-prop "$id" "$click" 0 1 xinput set-prop "$id" "$tap" 1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1246683 Title: Middle button does not work for scrolling To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1246683/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs