Clicking the middle button does't allow me scroll the page. Is there any way to fix this behavior?
- Ubuntu 10.10
- Chromium 9.0.597.94
- Logitech MX518
Update: also Chrome, and the other Chromium based ones.
This will work with all your applications without the need of installing anything.
In my case with a Logitech M315/M235 was 11.
To list available properties use
xinput list-props <deviceID>. If you are using libinput (the future/present) almost all properties will start with libinput.
Since 17.04 Ubuntu uses libinput, so to set mouse properties:
xinput set-prop 11 "libinput Scroll Method Enabled" 0, 0, 1 # This is button xinput set-prop 11 "libinput Button Scrolling Button" 2 # This is middle mouse. Already 2 by default
xinput --set-prop 11 'Evdev Wheel Emulation' 1 xinput --set-prop 11 'Evdev Wheel Emulation Button' 2 xinput --set-prop 11 'Evdev Wheel Emulation Axes' 6 7 4 5
I use ubuntu. I recommend another couple of addons, that allows "Scroll a page as if a scrollbar is under your mouse." I found that give us more control over the scroll move.
With both addons you just click and hold secondary button pressed to scroll pages moving the mouse up and down and even horizontally.