Linux Commands Examples

A great documentation place for Linux commands


compile a XKB keyboard description to a keymap suitable for loadkeys

see also : xkbcomp


ckbcomp [option ...] [layout [variant [option ...]]]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


The ckbcomp keymap compiler converts a description of an XKB keymap into a console keymap that can be read directly by loadkeys.


-?, -help

Print a usage message and exit.

-charmap  charmap

The encoding to use. There should be an unicode ACM map for this encoding in /usr/share/consoletrans.


Search top-level directory dir for files included by the keymap description. This option may be used multiple times. After all directories specified by -I options have been searched, /etc/console-setup/ckb, /usr/share/X11/xkb, /etc/X11/xkb and /usr/X11R6/lib/X11/xkb will be searched too.

-v level

Set level of detail for listing. level is a number from 1 to 10.


Generate a compact keymap with at most two xkb groups and two levels in each or only one xkb-group and up to four levels.

xkb keyboard description

The keyboard layout, variant and options components can be also specified directly on the command line. See the synopsis of the command.

Specifies the symbols component name of the XKB keyboard description.

-keycodes name

Specifies the keycodes component name of the XKB keyboard description.

-rules name

The name of the rules file to use.

-model name

Specifies the keyboard model used to choose the component names.

-layout name

Specifies the layout used to choose the component names.

-variant name

Specifies the layout variant used to choose the component names.

-option name

Adds an option used to choose component names.

see also



Anton Zinoviev <anton[:at:]lml.bas[:dot:]bg>, <zinoviev[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?

give  feedback