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, 2018 at 16:45
  • @vtni Unfortunately I haven't found a solution so far :( Mar 27, 2018 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, 2019 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. Aug 6, 2019 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, 2019 at 19:43

1 Answer 1


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.

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