xhk command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xhk: command not found
or when using sudo you get the following error message
sudo: xhk: command not found
Solutions to xhk: command not found
How To Fix xhk: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xhk is provided by xhk package.
xhk is:
Running xhk detaches the keyboard, and intercepts all input; processing it for space bar pushes as it goes. The space bar acts as a modifier if it is held at the same time as a standard letter. Modifying acts to mirror the input such that key presses are mirrored down the middle of the home row. Pressing space, and then releasing will still provide a single space character.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xhk
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xhk.
sudo apt -y install xhk
Or if you have aptitude installed you can use the following command.
sudo aptitude install xhk
Summary
In this tutorial we learn how to fix xhk command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.