How To Install xxkb on Ubuntu 22.04
Introduction
In this tutorial we learn how to install xxkb
on Ubuntu 22.04.
What is xxkb
xxkb is:
This program is a keyboard state indicator and switcher for xkb. Features:
- shows current xkb group (pixmap in its own window)
- allows switch group by mouse click
- allows individual state for every window
- can install its own button (indicator/mouse switcher) on every window’s title bar
- can restrict keyboard states for every window to only two (“main group” - “alternative group”) if xkb set up for more than two groups. Bugs:
- documentation is partially in Russian (koi8-r charset) only
There are three methods to install xxkb
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xxkb Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xxkb
using apt-get
by running the following command:
sudo apt-get -y install xxkb
Install xxkb Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xxkb
using apt
by running the following command:
sudo apt -y install xxkb
Install xxkb Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xxkb
using aptitude
by running the following command:
sudo aptitude -y install xxkb
How To Uninstall xxkb on Ubuntu 22.04
To uninstall only the xxkb
package we can use the following command:
sudo apt-get remove xxkb
Uninstall xxkb And Its Dependencies
To uninstall xxkb
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove xxkb
Remove xxkb Configurations and Data
To remove xxkb
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge xxkb
Remove xxkb configuration, data, and all of its dependencies
We can use the following command to remove xxkb
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xxkb
References
Summary
In this tutorial we learn how to install xxkb
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.