xkbdfltmap(1X)xkbdfltmap(1X)NAMExkbdfltmap - Determine default X keymap for locale and keyboard
SYNOPSISxkbdfltmap [options]
OPTIONS
lang specifies a string to be used instead of the console language.
This option is useful for locales that cannot be specified in the con‐
sole. This option is only used if XKB is active in the server. kbd
specifies a string to be used instead of the console keyboard. This
option is useful for keyboard types that cannot be uniquely identified
by the kernel. For example, the kernal identifies the Microsoft Natu‐
ral Keyboard as a PCXAL. If XKB is not active in the server, file
specifies the xmodmap command. The default is /usr/bin/X11/xmodmap.
If XKB is not active in the server, file specifies the file containing
the information necessary to determine what xmodmap keymap to use based
upon the console language and keyboard type. The default is
/usr/lib/X11/xdm/Xkeymaps. If XKB is active in the server, file speci‐
fies the XKB keyboard compiler. The default is /usr/bin/X11/xkbcomp.
If XKB is active in the server, path specifies the top-level directory
that contains the XKB keymaps. The default is /usr/lib/X11/xkb. If
XKB is active in the server, file specifies the file containing the
information necessary to determine what XKB keymap to use based upon
the console language and keyboard type. The default is
/usr/lib/X11/keymaps.dir. Specifies whether execute the necessary com‐
mand to download the keymap to the server after determining the
default, or whether to just print out the necessary command. Specify
-exec to download the keymap. Specify -noexec to just print out the
necessary command. The default is -noexec. If the -noexec command is
specified, and XKB is active in the server, the -file option instructs
xkbdfltmap to print out just the XKB keymap file that contains the
keymap. A keymap will not be downloaded to the server if -file is
used. If the -noexec command is specified, and XKB is active in the
server, the -map option instructs xkbdfltmap to print out just the XKB
keymap name. A keymap will not be downloaded to the server if -map is
used.
DESCRIPTION
The xkbdfltmap command queries the system console for the language and
keyboard settings. Then, based upon whether the XKB server extension
is active in the server, it will optionally download an xmodmap file
from /usr/lib/X11/keymaps or an XKB keymap file from /usr/lib/X11/xkb
to the server.
FILES
/usr/lib/X11/xdm/Xkeymaps
/usr/lib/X11/xkb/keymaps.dir
SEE ALSOX(1X)xkbdfltmap(1X)