TouchscreenTaps
TouchscreenTaps is a touchscreen taps recognizer. It allows "tap and hold" gesture to be recognized and assign a command to it.
Instalation
sudo gpasswd -a $USER input
sudo apt install libinput-tools
sudo apt install xdotool
sudo apt install ruby
sudo gem install touchscreen-taps
Usage
touchscreen-taps
Pass custom config
touchscreen-taps /home/user/custom_config.yml
Config example
---
tap_and_hold:
1:
command: 'xdotool click 3'
acceptance_delay: '0.5'
Run as daemon
touchscreen-taps &
Autostart
echo 'touchscreen-taps &' | sudo tee /etc/profile.d/start-touchscreen-taps.sh
Tested on:
Surface Pro 3 (i5/8gb/256gb)
Ubuntu 18.04 LTS (linux 5.5, Gnome, Xorg)
License
The gem is available as open source under the terms of the MIT License.