gxkb command not found

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

Introduction

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

gxkb: command not found

or when using sudo you get the following error message

sudo: gxkb: command not found

Solutions to gxkb: command not found

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

In Ubuntu gxkb is provided by gxkb package.

gxkb is:

gxkb is a little indicator applet which allows one to quickly switch between different keyboard layouts in X. A flag corresponding to the country of the active layout is shown in the indicator area.

The applet is written in C and uses the GTK+ library and therefore does not depend on any GNOME components.

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

sudo apt-get -y install gxkb

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

You can also use apt command to install gxkb.

sudo apt -y install gxkb

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

sudo aptitude install gxkb

Summary

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