Score:0

Disable physical left click on touchpad but keeping tap

pw flag

I need to disable the physical clicking on the left touchpad as my touchpad is a bit broken and get stuck specifically on the left side. I think libinput should do the work but I am unable to find the correct function. I end up deactivating the whole touchpad altogether.

Score:0
cn flag

first run;

xinput

the output looks like this;

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ AlpsPS/2 ALPS GlidePoint                  id=18   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]

in my case the touchpad ID is 18 (check the correct ID for yours) and;

xinput get-button-map 18

you will get this;

1 2 3 4 5 6 7 8 9 10 11 12

where 1 is the left click now disable it by set 0 as new variable;

xinput set-button-map 18 0 2 3 4 5 6 7 8 9 10 11 12

hope this help you.

pw flag
hi there, thanks but that would disable the left button and prevent me to even use tap to click. do you know of any other way that would still allow me to use tap to click but disable the physical pressing of the left button?
s3idani avatar
cn flag
the above example tested on my touchpad. i stil tap on it and left click disabled. can you post the output of your `xinput get-button-map ID` please?
pw flag
the result of the command is: 1 2 3 4 5 6 7. when I did your xinput set-button-map 12 0 2 3 4 5 6 7, I confirm I can no longer use tap-to-click
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.