Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Elantech Touchpad in Gentoo with X | Tapping
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
the_actuary
n00b
n00b


Joined: 04 Apr 2021
Posts: 48

PostPosted: Wed Apr 07, 2021 9:29 am    Post subject: [Solved] Elantech Touchpad in Gentoo with X | Tapping Reply with quote

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
View user's profile Send private message
gasmat
n00b
n00b


Joined: 15 Feb 2021
Posts: 10
Location: Italy

PostPosted: Wed Apr 07, 2021 5:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum