How to install xkb-switch on Ubuntu 17.04
To install xkb-switch on Ubuntu 17.04
The xkb-switch is a C++ program that allows the user to query and change the XKB layout state. The XKB is a part of the X window system that has the ability to control the keyboard. The switch is used to switch from the x keyboard layout from the command line. This tutorial covers the ground on the installation procedure of xkb-switch on Ubuntu 17.04.
Installation procedure
To begin with the installation procedure, add the repository to the target machine and execute the following command.
root@linuxhelp:~# add-apt-repository ppa:atareao/atareao
Applications from atareao
More info: https://launchpad.net/~atareao/+archive/ubuntu/atareao
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox ' /tmp/tmpyk0499wi/pubring.gpg' created
gpg: /tmp/tmpyk0499wi/trustdb.gpg: trustdb created
gpg: key 6A9653F936FD5529: public key " Launchpad PPA for atareao" imported
gpg: Total number processed: 1
gpg: imported: 1
OK
The repositories are added successfully to the system. Update the system by executing the apt-get update command.
root@linuxhelp:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Get:2 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty InRelease [15.4 kB]
Get:3 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:5 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty/main amd64 Packages [15.9 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]
Get:7 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty/main i386 Packages [15.9 kB]
Get:8 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty/main Translation-en [6,692 B]
Fetched 321 kB in 2s (115 kB/s)
Reading package lists... Done
The target machine has been updated and now install xkb-switch by running the following command and press y to continue.
root@linuxhelp:~# apt-get install xkb-switch -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
xkb-switch
0 upgraded, 1 newly installed, 0 to remove and 278 not upgraded.
Need to get 20.9 kB of archives.
After this operation, 80.9 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/atareao/atareao/ubuntu zesty/main amd64 xkb-switch amd64 1.4.0-2 [20.9 kB]
Fetched 20.9 kB in 1s (16.5 kB/s)
Selecting previously unselected package xkb-switch.
(Reading database ... 170934 files and directories currently installed.)
Preparing to unpack .../xkb-switch_1.4.0-2_amd64.deb ...
Unpacking xkb-switch (1.4.0-2) ...
Setting up xkb-switch (1.4.0-2) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
The application has been installed successfully. To know more about the options and commands used in xkb-switch, type and run the following help command.
root@linuxhelp:~# xkb-switch --help
Usage: xkb-switch -s ARG Sets current layout group to ARG
xkb-switch -l|--list Displays all layout groups
xkb-switch -h|--help Displays this message
xkb-switch -v|--version Shows version number
xkb-switch -w|--wait [-p] Waits for group change
xkb-switch -W Infinitely waits for group change, prints group names to stdout
xkb-switch -n|--next Switch to the next layout group
xkb-switch [-p] Displays current layout group
The installation procedure of xkb-switch on Ubuntu 17.04 is done without any glitches.
Comments ( 0 )
No comments available