View previous topic :: View next topic |
Author |
Message |
the_actuary n00b
Joined: 04 Apr 2021 Posts: 48
|
Posted: Wed Apr 07, 2021 9:29 am Post subject: [Solved] Elantech Touchpad in Gentoo with X | Tapping |
|
|
Posting this in case some noob like me struggles with Elantech touchpad config in future.
-> In /etc/portage/make.conf :-
Input devices="libinput" (do not use synaptics, evdev isn't necessary).
-> emerge xorg-drivers
-> In /etc/X11/, create a directory called xorg.conf.d & paste the below in a new file called "30-touchpad.conf" (or whatever you would like to call it):
Code: | Section "InputClass"
Identifier "ETPS/2 Elantech Touchpad"
Driver "libinput"
MatchisTouchpad "on"
MatchDevicePath "/dev/input/event"
Option "Tapping" "on"
Option "NaturalScrolling" "false"
Option "TappingButtonMap" "lmr"
EndSection |
Name of the touchpad can be found in "$ libinput list-devices"
-> In gnome, you can set it directly by:
Code: |
gsettings list-recursively org.gnome.desktop.peripherals.touchpad
gsettings set org.gnome.desktop.peripherals.touchpad tape-to-click true
gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false
|
-> restart X |
|
Back to top |
|
|
gasmat n00b
Joined: 15 Feb 2021 Posts: 10 Location: Italy
|
Posted: Wed Apr 07, 2021 5:38 pm Post subject: |
|
|
You can do without adding to make.conf INPUT_DEVICE="libinput", if it is not present it sets libinput by default (Same goes for VIDEO_CARDS, if unset it will install all drivers) ...
To see its value just type:
Code: | portageq envvar INPUT_DEVICES |
_________________ Chi vuol esser lieto sia, di doman non c'è certezza |
|
Back to top |
|
|
|