15

I am currently using Raspbian Stretch with a Waveshare 7 inch touchscreen, and I would like to get right click input (preferably with two finger or long touch).

There appear to be no solutions for Raspbian Stretch, and I have tried to use solutions which have worked on previous versions of Raspbian (like Jessie and Wheezy) such as using twofing or modifying the xorg.conf file to get the right click menu, but none work.

However, I found that in only Chromium, two finger touch and long press both make the right click menu come up, but when I do it on the desktop/anywhere else, nothing happens.

Any suggestions on how to get right click input from the touchscreen would be greatly appreciated.

  • Have you found a solution? – vtni Mar 27 '18 at 16:45
  • @vtni Unfortunately I haven't found a solution so far :( – The Sleepy Penguin Mar 27 '18 at 21:37
  • on my screen (elegoo mini 4,7 inch), as I remember i did double click or just press for few seconds – matjf Feb 5 at 17:47
  • Trying twofinger with a Waveshare 7 inch touchscreen without success... Tablet interface would be really nice. And double touch is a mouse click instead of single touch. – TamusJRoyce Aug 6 at 0:50
  • While your twofing implementations are in place, do you have a mouse and keyboard plugged into USB? I've read somewhere that sometimes this will kill the twofing function.. having the mouse and keyboard plugged in. – mrSidX Aug 9 at 19:43
0

In general input-related options from xorg.conf are given to xinput, so unless you know which options will work and want to make permanent changes to configuration, it's better to run xinput directly rather than repeatedly changing xorg.conf and restarting X.

Run xinput list to find the touchscreen ID, then xinput list-props <ID> to find the relevant property (usually EmulateThirdButton). Then try to enable that property for the touchscreen and see if that helps. If not, try to do the same with the next input device in the hierarchy, up to the Virtual core pointer.

protected by Community Feb 5 at 18:58

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.