Is there any setting to enable natural scrolling for my touchpad?
I can find the setting under XFCE settings for the mouse, but it doesn't work for the touchpad. Is there a way to enable it for the latter?
Is there any setting to enable natural scrolling for my touchpad?
I can find the setting under XFCE settings for the mouse, but it doesn't work for the touchpad. Is there a way to enable it for the latter?
This is a known bug: LP:1368402
A good and simple solution (workaround) that allows to use natural scrolling in every application (including Chrome and Gnome ones), tested on Xenial 16.04, is the following.
First disable Reverse scroll direction from the XFCE mouse settings:
Settings > Mouse and Touchpad > Reverse scroll direction
.Then, run in a terminal:
It will output a list of key-value pairs like this:
Search the key:
VertScrollDelta
and check its value. If its e.g. 58, set then it to -58 with the following command:If you want to do the same with the horizontal scroll, search instead for the key:
HorizScrollDelta
and invert it in the same way:[Edit]
As pointed by rubo77, this doesn't last after a reboot. If you want it to become the default, create a script like the following
fix_scroll.sh
:Then add
fix_scroll.sh
to your startup applications:Credit goes to: https://forums.linuxmint.com/viewtopic.php?f=90&t=233135&p=1236836&sid=394bf7ad96c3ba102949bac4dd404a1a
I searched a lot and also found a bugreport about it, but the solution was easy:
You have to select the Touchpad-device in the selectbox at the top of the mouse-settings.
(It was a bit hard, to find, because I didn't expect that the settings for mouse and touchpad are separately configureable.)
On older xfce versions, where the setting doesn't exist, check the value with
and use the negative value, you find there (for example -58 instead of 58).
The best method that have worked for me to make this reboot-safe is to add your changes into
Xsession.d
, so it will load automatically for all users when you log into X:(the file doesn't exists, so you can name it whatever you want. The numbers on the left means the order in which it will be executed in comparison with the other files.)
Add just the synclient commands in that file:
(should be owned by root, with permissions 644)
There is still something odd: the horizontal scrolling is still wrong, This can be fixed with:
With Xfce 4.12 or above, you can go to Mouse settings and select Reverse scroll direction. The setting is under Mouse but it also reverses the scrolling direction for the touchpad.
To get natural scrolling, you can add
to the xorg.conf for the input device, which could be the default
/usr/share/X11/xorg.conf.d/40-libinput.conf
, or it could be your own/usr/share/X11/xorg.conf.d/10-magic-touchpad.conf
likeIncreasing the number -71 to eg. -111 will slow down the scrolling speed.