key-mapper-control command not found

In this troubleshooting guide we learn how to fix key-mapper-control command not found error message

Introduction

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

key-mapper-control: command not found

or when using sudo you get the following error message

sudo: key-mapper-control: command not found

Solutions to key-mapper-control: command not found

How To Fix key-mapper-control: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu key-mapper-control is provided by key-mapper package.

key-mapper is:

input-remapper allows users to map buttons on all input devices (keyboards, mice, gamepads…) in X11 and Wayland. It also supports combined buttons and programmable macros.

input-remapper includes a UI to configure button mappings, per device, and configuration to automatically apply button mappings at boot and on device connection.

This is a transitional package providing backwards compatibility with key-mapper, input-remapper’s previous name.

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

sudo apt-get -y install key-mapper

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

You can also use apt command to install key-mapper.

sudo apt -y install key-mapper

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

sudo aptitude install key-mapper

Summary

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