Install xinput-calibrator by entering the following commands in the terminal:
sudo apt update sudo apt install xinput-calibrator
Description:
Generic touchscreen calibration program for X.Org
xinput-calibrator is a tool to calibrate touchscreens under X.Org. Its features include: - work for any Xorg driver (use Xinput to get axis valuators); - output the calibration as Xorg.conf, HAL policy and udev rule; - support advanced driver options, such as Evdev's dynamic calibration; - have a very intuitive GUI (normal X client);
Homepage: http://www.freedesktop.org/wiki/Software/xinput_calibrator/
Version: 0.7.5+git20140201-1build1
Section: universe/x11