# Installed by socktop-swipe. # # Reading touch events means reading /dev/input directly. The usual advice is # to join the 'input' group, but that grants access to EVERY input device -- # including the keyboard, which is a keylogger's worth of access -- and it needs # a full logout to take effect. # # This grants access to touchscreens only, and applies the moment the device # appears. Change GROUP to a group the dashboard user is in if 'input' is not # suitable; the point is the narrower device match, not the group name. # # Reload with: sudo udevadm control --reload && sudo udevadm trigger SUBSYSTEM=="input", KERNEL=="event*", ENV{ID_INPUT_TOUCHSCREEN}=="1", GROUP="input", MODE="0640"