dumpkeys [ -hilfn -ccharset --help --short-info --long-info --numeric
--full-table --funcs-only --keys-only --compose-only --charset=charset
dumpkeys writes, to the standard output, the current contents of the
keyboard driver's translation tables, in the format specified by
Using the various options, the format of the output can be controlled
and also other information from the kernel and the programs dumpkeys(1)
and loadkeys(1) can be obtained.
Prints the program's version number and a short usage message to
the program's standard error output and exits.
Prints some characteristics of the kernel's keyboard driver. The
items shown are:
Keycode range supported by the kernel
This tells what values can be used after the keycode key-
word in keytable files. See keymaps(5) for more informa-
tion and the syntax of these files.
Number of actions bindable to a key
This tells how many different actions a single key can
output using various modifier keys. If the value is 16
for example, you can define up to 16 different actions to
a key combined with modifiers. When the value is 16, the
kernel probably knows about four modifier keys, which you
can press in different combinations with the key to
access all the bound actions.
Ranges of action codes supported by the kernel
This item contains a list of action code ranges in hexa-
decimal notation. These are the values that can be used
in the right hand side of a key definition, ie. the vv's
in a line
keycode xx = vv vv vv vv
(see keymaps(5) for more information about the format of
key definition lines). dumpkeys(1) and loadkeys(1) sup-
port a symbolic notation, which is preferable to the
numeric one, as the action codes may vary from kernel to
kernel while the symbolic names usually remain the same.
ditionally bound to the various function and editing keys
of the keyboard and are defined to send standard escape
sequences. However, you can redefine these to send common
command lines, email addresses or whatever you like.
Especially if the number of this item is greater than the
number of function and editing keys in your keyboard, you
may have some "spare" action codes that you can bind to
AltGr-letter combinations, for example, to send some use-
ful strings. See loadkeys(1) for more details.
You can see you current function key definitions with the
This option instructs dumpkeys to print a long information list-
ing. The output is the same as with the --short-info appended
with the list of action symbols supported by loadkeys(1) and
dumpkeys(1), along with the symbols' numeric values.
This option causes dumpkeys to by-pass the conversion of action
code values to symbolic notation and to print the in hexadecimal
This makes dumpkeys skip all the short-hand heuristics (see
keymaps(5)) and output the key bindings in the canonical form.
First a keymaps line describing the currently defined modifier
combinations is printed. Then for each key a row with a column
for each modifier combination is printed. For example, if the
current keymap in use uses seven modifiers, every row will have
seven action code columns. This format can be useful for example
to programs that post-process the output of dumpkeys.
When this option is given, dumpkeys prints only the function key
string definitions. Normally dumpkeys prints both the key bind-
ings and the string definitions.
When this option is given, dumpkeys prints only the key bind-
ings. Normally dumpkeys prints both the key bindings and the
When this option is given, dumpkeys prints only the compose key
combinations. This option is available only if your kernel has
compose key support.
1 Sep 1993 DUMPKEYS(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2019
All Rights Reserved.