Closed shenron closed 7 years ago
This would be configured by your DE or via X.org. I have this enabled, for example.
In case you're not running a DE or your DE does not have a way to enable tapping (e.g. i3) an alternative consists of using xinput
(this assumes you're using Xorg and not Wayland).
Retrieve the id of the touchpad with:
~ xinput list --id-only "Atmel maXTouch Touchpad"
9
xinput list-props 9
Device 'Atmel maXTouch Touchpad':
Device Enabled (138): 1
Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (273): 1
libinput Tapping Enabled Default (274): 0
libinput Tapping Drag Enabled (275): 1
libinput Tapping Drag Enabled Default (276): 1
libinput Tapping Drag Lock Enabled (277): 0
libinput Tapping Drag Lock Enabled Default (278): 0
libinput Tapping Button Mapping Enabled (279): 1, 0
libinput Tapping Button Mapping Default (280): 1, 0
libinput Accel Speed (281): 0.000000
libinput Accel Speed Default (282): 0.000000
libinput Natural Scrolling Enabled (283): 1
libinput Natural Scrolling Enabled Default (284): 0
libinput Send Events Modes Available (258): 1, 1
libinput Send Events Mode Enabled (259): 0, 0
libinput Send Events Mode Enabled Default (260): 0, 0
libinput Left Handed Enabled (285): 0
libinput Left Handed Enabled Default (286): 0
libinput Scroll Methods Available (287): 1, 1, 0
libinput Scroll Method Enabled (288): 1, 0, 0
libinput Scroll Method Enabled Default (289): 1, 0, 0
libinput Click Methods Available (290): 1, 1
libinput Click Method Enabled (291): 0, 1
libinput Click Method Enabled Default (292): 0, 1
libinput Middle Emulation Enabled (293): 0
libinput Middle Emulation Enabled Default (294): 0
libinput Disable While Typing Enabled (295): 1
libinput Disable While Typing Enabled Default (296): 1
Device Node (261): "/dev/input/event11"
Device Product ID (262): 0, 0
libinput Drag Lock Buttons (297): <no items>
libinput Horizontal Scroll Enabled (298): 1
In this example you'd enable tapping with:
xinput set-prop 9 273 1
A few things to note:
9
(sometimes it's 13
).Hello,
Thank you for your help. In fact I use i3wm, so I use directly a configuration for Xorg.
/etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass" Identifier "MyTouchpad" MatchIsTouchpad "on" Driver "libinput" Option "Tapping" "on" EndSection
Hello,
Is it possible to have a click with a simple tap with the touch pad ?
Thank you very much.