10

I have just updated from Ubuntu 17.04. Natural scrolling was not activated, so I turned it on in Settings -> Devices -> Mouse & Touch-pad. But still not working... What can I do?

Luis Alvarado
  • 211,503

3 Answers3

12

I followed advice from answers to the queston How to enable natural scrolling with mouse in 17.04?. In my case removing xserver-xorg-input-synaptics and restarting did the trick:

sudo apt remove xserver-xorg-input-synaptics

  • 1
    In case you want to keep using the synaptics driver: synclient VertScrollDelta=-108 HorizScrollDelta=-108 worked for me. – user142 Mar 05 '18 at 07:48
3

I got it working on mine. Credits to @pilot6 and Antonio Kordic for getting me to the correct solution: mine works with edge scrolling.

And is has nothing to do with libinput. The gsetting the settings use seems to be wrong initially(!). This was it:

gsettings set org.gnome.desktop.peripherals.touchpad edge-scrolling-enabled true

Even weirder: changing "edge scrolling" in settings->mouse now ALSO works. And turning "natural scrolling" off now also reverses the direction. I do not get why this now works but it works for me ;)

Rinzwind
  • 299,756
-1

Add on /usr/share/X11/xorg.conf.d/40-libinput.conf file the next line:

Section "InputClass" Identifier "libinput touchpad catchall" --> Option "Tapping" "true" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" EndSection

This line without the arrow:

--> Option "Tapping" "true"

Next step should either reboot (did myself) or restart X server, it seems is working for me!!

  • Tapping should be something else than natural scrolling(?) – Rinzwind Oct 20 '17 at 20:00
  • It should be Option "NaturalScrolling" "True". And it should be below Driver "libinput" – Pilot6 Oct 20 '17 at 21:34
  • After add tapping and reboot could enable and disable scrolling on configuration. yes, it works for me as I said!! Took from here https://askubuntu.com/questions/947779/touchpad-double-tap-and-two-finger-scroll-not-working-on-ubuntu-17-04#947782 ... it is what it is!!! – Israel Diaz Oct 20 '17 at 23:02
  • Sorry @Pilot6. That did work in 17.04 for me but now with wayland ... nope. I followed your instructions from the reply Israel Diaz posted but no scrolling for me :( – Rinzwind Oct 21 '17 at 04:17
  • Well, that doesn't work with wayland because there is no X. Wayland should have other configs to pass parameters to libinput. I don't use wayland yet. – Pilot6 Oct 22 '17 at 09:18