KMouseTool
Mouse manipulation tool for the disabled
KMouseTool clicks the mouse for you, so you don't have to. KMouseTool works with any mouse or pointing device.
KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was designed to help those with repetitive strain injuries, for whom pressing buttons hurts. . This package is part of the KDE accessibility module.
How to install KMouseTool in Ubuntu
If you are on a supported distro, you can install the application through software center by clicking the below link.
If the above link not working, run the below command in terminal to install kmousetool in Ubuntu
sudo apt install kmousetool