I'm setting up a kiosk system that automatically loads a webpage in full screen on boot-up. Standard stuff.
The problem is a hooked up an Acer touch screen which works fine with the evdev driver... but it works a little too well. If the user presses and holds down on the screen, a right-click is generated and the context menu appears. This causes a few problems for the interface and I need to disable this feature, but I haven't found a way to do that yet.
X11 configuration files are not something with which I have much experience. Does anyone have any experience getting rid of this feature? Is it possible to map the touchscreen to a generic mouse driver?
The system is: - Ubuntu Mate 15.04 - Raspberry Pi 2 - Window Manager: Matchbox - Browser: Chromium
So far, I've made the following changes to the 10-evdev.conf file in /usr/share/X11/xorg.conf.d
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
**Option "ButtonMapping" "1 0 0 0 0"
Option "Emulate3Buttons" "False"
Option "EmulateWheel" "False"
Option "EmulateThirdButton" "False"
Option "EmulateThirdButtonTimeout" "100000"
Option "EmulateThirdButtonMoveThreshold" "0"**
EndSection
None of it has had any effect on the right-click event being generated or the context menu appearing. However, if I put:
Option "Ignore" "on"
The touchscreen doesn't work at all, so I believe that is the proper section to change.