Right Click on RasPad¶
Touchscreen tablets and displays make it easy for you to perform simple navigation tasks with your fingers or stylus, but at some point, you may want to use right-click commands to quickly access context-specific shortcuts.
Here we use
evdev-rce to make RasPad’s right-click command still available.
Enter the following command to install the required software.
sudo apt install build-essential libevdev2 libevdev-dev git clone 'https://github.com/PeterCxy/evdev-right-click-emulation.git' cd 'evdev-right-click-emulation'
Enter the following command to build.
Copy the file to the
sudo cp 'out/evdev-rce' '/usr/local/bin/'
Make it executable.
sudo chmod +x '/usr/local/bin/evdev-rce'
/etc/rc.local file to enable boot-up.
sudo nano /etc/rc.local
rc.local, add the following command before
sudo /usr/local/bin/evdev-rce &
Y to exit and save the
rc.local file, and then run
sudo reboot to restart RasPad.
After restarting, you can long press on the RasPad desktop and see if the right click function appears.