• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install xkb-switch on Ubuntu 17.04

{{postValue.id}}

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.

Tags:
wilson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

how to check the version of xkb-switch?

A

run the command as below to check the version of xkb-switch
"# xkb-switch -V".

Q

Whether is the source file available for xkb-switch?

A

use the link to get the source of xkb-switch
"https://github.com/ierton/xkb-switch".

Q

why we need to install xkb-switch in ubuntu?

A

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.

Q

how to add the repository for xkb-switch package in terminal?

A

add the repository of xkb-switch to the target machine and execute the following command.
# add-apt-repository ppa:atareao/atareao

Q

where to check the available options for xkb-switch in terminal?

A

know more about the options and commands used in xkb-switch, type and run the following help command
# xkb-switch --help

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.