Based on the main answer, given that I had to modify some of the instructions there:
The command to enable tap-to-click is therefore of the form:
xinput set-prop "device" "action" 1
To read the "device" you have to do
xinput list
But it may prove difficult to identify the device in that list. Some tips: it is probably under "Virtual core pointer"; it may contain terms like "Syn", "Synaptics", "Touchpad", "Alps", "Glidepoint". e.g., mine was AlpsPS/2 ALPS GlidePoint id=16
, but I had to guess; as I was not sure I have tested if that was the correct ID number by disabling/enabling the touchpad with xinput --disable 16
and xinput --enable 16
.
Now, to get rid of all the confusing names, ID-numbers can be used instead of the device and action names.
So, to read the "action":
xinput list-props 16
Which listed among others:
libinput Tapping Enabled (297): 0
So, using ID numbers instead of names, the final command was:
xinput set-prop 16 297 1
Note: for some reason, using the name of the action within the command, as suggested by the main answer, wouldn't work for me (xinput set-prop ""AlpsPS/2 ALPS GlidePoint" "Tapping Enabled" 1
), while using just the name of the device did work (xinput set-prop "AlpsPS/2 ALPS GlidePoint" 297 1
).
This command can be useful in systems where there is no GUI for such setting, like in the LXQT that I was testing at the date of the post.
gsettings
changes the setting of the GUI interface. – Gilles 'SO- stop being evil' Jan 09 '14 at 22:230
,1
,"1, 0, 0"
don't work with it, butxinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" "3"
turns tapping into a back button... – Wilf Jan 09 '14 at 22:28xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 11
(might of been that number) seems to work, though it is also working as a back button AT THE SAME TIME. Edit: Whoops, actually, that didn't work - ?!? – Wilf Jan 09 '14 at 22:31sudo service restart glidepoint
to get it back... but I still don't see the corresponding tap action inxinput list
, so maybe the subject of another question... – PlasmaBinturong Dec 15 '16 at 15:11xinput set-prop 16 297 1
. 16 is the number of the touchpad fromxinput list
, 297 stands for the "Tapping Enabled" action fromxinput list-props 16
, 1 istrue
. – Jul 18 '18 at 14:46list-props
to find a property, and you don't want to deal with complex quoting so you just store the number to use it withset-prop
. – Gilles 'SO- stop being evil' Jul 18 '18 at 20:08list-props
is needed anyway. Furthermore, for some reason, using the name of the action within the command, as suggested by the main answer, wouldn't work for me (xinput set-prop ""AlpsPS/2 ALPS GlidePoint" "Tapping Enabled" 1
), while using just the name of the device did work (xinput set-prop "AlpsPS/2 ALPS GlidePoint" 297 1
). – Jul 19 '18 at 14:09