xkbcomp(1X)xkbcomp(1X)NAMExkbcomp - compile XKB keyboard description
SYNOPSISxkbcomp [-option...] keymap-source
OPTIONS
Shows all keyboard information, reporting implicit or derived informa‐
tion as a comment. Affects only format output. Produces a C header
file as output (.h extension). Computes defaults for any missing com‐
ponents, such as key names. Specifies top-level directories to be
searched for files included by the keymap description. Specifies a map
to be compiled from an XKB directory file (not implemented yet). Spec‐
ifies a name for the generated output file. The default is the name of
the source file with an appropriate extension for the output format.
Specifies a list of optional parts. Compilation errors in optional
parts are not fatal. Parts may consist of any combination of the let‐
ters c, g, k, s, or t that specify the compatibility map, geometry,
keycodes, symbols, and types, respectively. Specifies the root direc‐
tory for relative path names. Forces synchronization of X requests.
Controls the reporting of warnings during compilation. A warning level
of 0 disables all warnings; a warning level of 10 enables them all.
Generates a source description of the keyboard as output (.xkb exten‐
sion). Generates a compiled keymap file as output (.xkm extension).
DESCRIPTION
The xkbcomp keymap compiler converts a description of an XKB keymap
into one of several output formats. The most common use for xkbcomp
is to create a compiled keymap file (.xkm extension) which can be read
directly by XKB-capable X servers or utilities. The keymap compiler
can also produce C header files or XKB source files. The C header
files produced by xkbcomp can be included by X servers or utilities
that need a built-in default keymap. The XKB source files produced by
xkbcomp are fully resolved and can be used to verify that the files
which typically make up an XKB keymap are merged correctly or to create
a single file which contains a complete description of the keymap.
The source may specify an X display, an an file. Unless explicitly
specified, the format of destination depends on the format of the
source. Compiling an (keymap source) file generates an (compiled keymap
file) by default. If the source is an file or an X display, xkbcomp
generates a keymap source file by default.
If the destination is an X display, the keyamp for the display is
updated with the compiled keymap.
The name of the destination is usually computed from the name of the
source with the extension replaced as appropriate. When compiling a
single map from a file that contains several maps, xkbcomp constructs
the destination file name by appending an appropriate extension to the
name of the map that is to be used.
COPYRIGHT
Copyright 1994, Silicon Graphics Computer Systems and X Consortium,
Inc.
See X(1X) for a full statement of rights and permissions.
SEE ALSOX(1X)AUTHOR
Erik Fortune, Silicon Graphics
xkbcomp(1X)