xidle command not found

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

Introduction

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

xidle: command not found

or when using sudo you get the following error message

sudo: xidle: command not found

Solutions to xidle: command not found

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

In Ubuntu xidle is provided by xidle package.

xidle is:

xidle runs a specific program after a certain amount of inactivity time, or when the mouse cursor is moved to an edge of the screen for a certain time, all of which is configurable. It is commonly used to run xlock.

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

sudo apt-get -y install xidle

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

You can also use apt command to install xidle.

sudo apt -y install xidle

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

sudo aptitude install xidle

Summary

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