jstest-gtk command not found

In this troubleshooting guide we learn how to fix jstest-gtk command not found error message

Introduction

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

jstest-gtk: command not found

or when using sudo you get the following error message

sudo: jstest-gtk: command not found

Solutions to jstest-gtk: command not found

How To Fix jstest-gtk: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu jstest-gtk is provided by jstest-gtk package.

jstest-gtk is:

jstest-gtk is a simple graphical joystick tester. It provides a list of attached joysticks, and for each one can display which buttons and axes are pressed, remap axes and buttons, and calibrate the device.

Even when your joystick is working mostly fine, you might want to give it a try, as the calibration lets you get rid of overlarge default deadzones that many joysticks use and which are a noticeable problem in some games.

Installing the joystick package in addition to this one will allow you to store your calibration settings and mappings and have the automatically restored.

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

sudo apt-get -y install jstest-gtk

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

You can also use apt command to install jstest-gtk.

sudo apt -y install jstest-gtk

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

sudo aptitude install jstest-gtk

Summary

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