xinput_calibrator command not found

In this troubleshooting guide we learn how to fix xinput_calibrator command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xinput_calibrator: command not found

or when using sudo you get the following error message

sudo: xinput_calibrator: command not found

Solutions to xinput_calibrator: command not found

How To Fix xinput_calibrator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xinput_calibrator is provided by xinput-calibrator package.

xinput-calibrator is:

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);

To fix this problem, we can install more using the command below.

sudo apt-get -y install xinput-calibrator

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install xinput-calibrator.

sudo apt -y install xinput-calibrator

Or if you have aptitude installed you can use the following command.

sudo aptitude install xinput-calibrator

Summary

In this tutorial we learn how to fix xinput_calibrator command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.