kbd-layout-viewer command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kbd-layout-viewer: command not found
or when using sudo you get the following error message
sudo: kbd-layout-viewer: command not found
Solutions to kbd-layout-viewer: command not found
How To Fix kbd-layout-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kbd-layout-viewer is provided by kde-config-fcitx package.
kde-config-fcitx is:
This is a configuration module for System Settings for configuring the Free Chinese Input Toy of X.
It is designed to have similar functionalities to fcitx-config-gtk, with better KDE integration.
To fix this problem, we can install more using the command below.
sudo apt-get -y install kde-config-fcitx
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install kde-config-fcitx.
sudo apt -y install kde-config-fcitx
Or if you have aptitude installed you can use the following command.
sudo aptitude install kde-config-fcitx
Summary
In this tutorial we learn how to fix kbd-layout-viewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.