Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install-keymap(8) [debian man page]

INSTALL-KEYMAP(8)					      System Manager's Manual						 INSTALL-KEYMAP(8)

install-keymap -- expand a given keymap and install it as boot-time keymap SYNOPSIS
install-keymap [keymap-name | NONE | KERNEL] DESCRIPTION
install-keymap usually takes a keymap-name as argument. The file is passed to loadkeys for loading, so that valid values for this argument are the same than that of arguments to loadkeys. install-keymap expands include-like statements in that file, and puts the result in /etc/console/boottime.kmap.gz, which will be loaded into the kernel at boot-time. One may also specify KERNEL instead of a keymap name, causing /etc/console/boottime.kmap.gz to be removed, making sure that no custom keymap will replace the kernel's builtin keymap at next reboot. An argument of NONE tells the command to do nothing. It can be used by caller scripts to avoid handling this special case and needlessly duplicate code. The purpose of this processing is to solve an annoying problem, of 2 apparently conflicting issues. The first one is an important goal of keymap management in Debian, namely ensuring that whenever the user or admin is expected to use the keyboard, the keymap selected as boot- time keymap is in use; this means the keymap has to be loaded before a shell is ever proposed, which means very early in the booting process, and especially before all local filesystems are mounted (/etc/rcS.d/ can spawn sulogin). The second issue is that for flexibility we allow that /usr or /usr/share may live on their own partition(s), and thus /usr/share/keymaps, where keymap files live, may not be available for reading at the time we need a keymap file. And no, we won't put 1Mb of keymaps in the root partition just for this. And the problem is, most keymap files are not self-contained, so it does not help to just copy the selected file into the root partition. The best known solution so far is to expand the keymap file so that it becomes self-contained, and put it in the root partition. That's what this tool does. FILES
/etc/console/boottime.kmap.gz Where the boot-time keymap is stored SEE ALSO
loadkeys (8). AUTHOR
This program and manual page were written by Yann Dirson for the Debian GNU/Linux system, but as it should not include any Debian-specific code, it may be used by others. INSTALL-KEYMAP(8)

Check Out this Related Man Page

ckbcomp(1)							   User Manuals 							ckbcomp(1)

ckbcomp - compile a XKB keyboard description to a keymap suitable for loadkeys SYNOPSIS
ckbcomp [option ...] [layout [variant [option ...]]] DESCRIPTION
The ckbcomp keymap compiler converts a description of an XKB keymap into a console keymap that can be read directly by loadkeys. OPTIONS
-?, -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. -Idir 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. -compact 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. -symbols name 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
xkbcomp(1) AUTHOR
Anton Zinoviev <>, <> console-setup MAY 2007 ckbcomp(1)
Man Page