lxinput command not found

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

Introduction

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

lxinput: command not found

or when using sudo you get the following error message

sudo: lxinput: command not found

Solutions to lxinput: command not found

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

In Ubuntu lxinput is provided by lxinput package.

lxinput is:

LXInput is a GUI application for the Lightweight X11 Desktop Environment (LXDE).

It configures keyboard and mouse settings:

  • Delay and Interval for character repeat
  • Enable/Disable beeps of keyboard input error
  • Swap left and right mouse buttons
  • Mouse acceleration and sensitivity

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

sudo apt-get -y install lxinput

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

You can also use apt command to install lxinput.

sudo apt -y install lxinput

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

sudo aptitude install lxinput

Summary

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