Monday, April 29, 2024
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 32922  / 3 Years ago, mon, november 1, 2021, 1:07:36

You can use this to reverse scroll direction (natural scroll):



xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12"


You can also set it back again with xmodmap -e "pointer = 1 2 3 4 5 7 6 8 9 10 11 12"



and this to switch the left and right buttons:



xmodmap -e "pointer = 3 2 1"


And change it back with xmodmap -e "pointer = 1 2 3"



But how do you enable tap to click from command line? Preferably with one command, and not permanently.



By the way, yes I do know this exists:



enter image description here


More From » command-line

 Answers
4

Xmodmap is of no help here. Xmodmap controls physical-to-logical mappings of buttons and keys, not the physical process that generate events in the first place.



The tool for this kind of options is xinput. The property name depends on your touchpad model, it may be something like



xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0


Run xinput list to see the names of available devices and xinput list-props "the device name" to list properties of a device.



See also Dynamic Input Configuration with xinput on the wiki, and some examples.


[#27568] Wednesday, November 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
edgehogight

Total Points: 272
Total Questions: 113
Total Answers: 99

Location: Northern Mariana Islands
Member since Sun, Jul 19, 2020
4 Years ago
edgehogight questions
Sat, Sep 11, 21, 22:09, 3 Years ago
Sat, Nov 6, 21, 19:48, 3 Years ago
Fri, Aug 26, 22, 09:37, 2 Years ago
;