-
-
Save miguelmota/c35999dbf9c15154d0aec8dace29d481 to your computer and use it in GitHub Desktop.
Section "InputClass" | |
Identifier "touchpad" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
Option "Tapping" "on" | |
Option "TappingButtonMap" "lmr" | |
EndSection |
sudo vim /etc/X11/xorg.conf.d/30-touchpad.conf | |
# restart xorg |
This is working. Thank you.
wow, it work perfectly. Thanks
Thank you for sharing.
Note that
Option "TappingButtonMap" "lmr"
causes a double tap to be a middle click and a triple tap to be a right click. I prefer it the other way around so I changed it to
Option "TappingButtonMap" "lrm"
How can I do the same on Wayland? I'm using RiverWM
How can I do the same on Wayland? I'm using RiverWM
x-device-input is a file unique for X11.
sudo vim /etc/X11/xorg.conf.d/30-touchpad.conf
Check the riverwm configuration/documentation that they should have something there, but IMO, if you want to have no issues with Wayland you either leave it, or try it out Hyprland (I am not an "Wayland Hater" I daily drived for half-a-year)
Thanks, been breaking my brain trying to do this
How can I do the same on Wayland? I'm using RiverWM
x-device-input is a file unique for X11.
sudo vim /etc/X11/xorg.conf.d/30-touchpad.conf
Check the riverwm configuration/documentation that they should have something there, but IMO, if you want to have no issues with Wayland you either leave it, or try it out Hyprland (I am not an "Wayland Hater" I daily drived for half-a-year)
coming back to this old gist to report to everyone that comes by with the same problem:
Wayland compositors have to implement this by themselves and River doesn't seem to support tablets and touchpads, not when I was using it anyways. But on Hyprland it works PERFECTLY and even has more advanced configuration 10/10
We can add additional natural mouse scroll option
Option "NaturalScrolling" "true"