robvandenbogaard / deskpi

The DeskPi is a miniature desktop RaspberryPi computer with touch screen. This repository bundles its documentation, assets, customization scripts and issues.
MIT License
1 stars 0 forks source link

Annoying lack of right click equivalent on a touch screen #5

Open robvandenbogaard opened 7 years ago

robvandenbogaard commented 7 years ago

It gets annoying fast, not being able to do the equivalent of right click when I'm not using a mouse (only touchscreen preferably, or if really necessary, with the help of the keyboard).

Using @xmodmap -e "keycode 105 = Pointer_Button3"in .config/lxsession/LXDE-pi/autostart does not seem to work.

Trying what is being said in http://www.linuxquestions.org/questions/linux-desktop-74/preserve-modified-keymap-across-reboot-in-lxde-openbox-885949/

robvandenbogaard commented 7 years ago

This is quite a shameful issue: The problem is there for more than two years, and the "best" resolution is to install twofing, which is hardly maintained and even by its author considered at most a suboptimal workaround. Likely everyone using the (touch functionality of the) official RaspberryPi Touchscreen gets confronted with it...

http://superuser.com/questions/992917/touchscreen-right-click-emulation-doesnt-work https://www.raspberrypi.org/forums/viewtopic.php?f=108&t=121602 https://github.com/watterott/RPi-Display/blob/master/docu/FAQ.md

Moreover, this workaround is at least inconvenient in its use because it selects the highest (towards the top of the screen) touch location to send the right click event to, instead of the first location that is being touched, as everyone would expect, I bet.

All this because the EmulateThirdButton settings in /etc/X11/xorg.conf stopped working in Debian Jesse - support got removed. I am very curious for the offered alternative and why this is so little discussed on raspberrypi.org.

robvandenbogaard commented 7 years ago

An alternative for twofing is presented in http://monaxoss.blogspot.nl/2016/07/debian-mate-gnome-alternative.html, using a Python script.