OS Manuals

/usr/bin/dumpkeys

Linux keyboard tools

From kbd 2.10.0-r4 (os), captured 2026-11-05 by running dumpkeys --help (exit 0). permalink

Usage: dumpkeys [option...]

Options:
  -i, --short-info         display information about keyboard driver.
  -l, -s, --long-info      display above and symbols known to loadkeys.
  -n, --numeric            display keytable in hexadecimal notation.
  -f, --full-table         don't use short-hand notations, one row per keycode.
  -1, --separate-lines     one line per (modifier,keycode) pair.
  -S, --shape={2|4|8|16}
  -t, --funcs-only         display only the function key strings.
  -k, --keys-only          display only key bindings.
  -d, --compose-only       display only compose key combinations.
  -c, --charset=CHARSET    interpret character action codes to be from the specified character set.
  -C, --console=DEV        the console device to be used.
  -v, --verbose            be more verbose.
  -V, --version            print version number.
  -h, --help               print this usage message.

Available charsets: iso-8859-{2,3,4,5,7,8,9,10,15},koi8-{r,u},mazovia,cp-1250,tis-620,iso-10646-18,iso-ir-197,iso-ir-209

Available shapes:
  2  - default output;
  4  - one line for each keycode;
  8  - one line for each (modifier,keycode) pair;
  16 - one line for each keycode until 1st hole.

Report bugs to authors.
Options (17)
OptionDescriptionSource
-i, --short-info --short-infoPrints some characteristics of the kernel's keyboard driver.help + man
-l, -s, --long-info -sThis option instructs dumpkeys to print a long information listing.help + man
-n, --numeric --numericThis option causes dumpkeys to by-pass the conversion of action code values to symbolic notation and to print the in hexadecimal format instead.help + man
-f, --full-table --full-tableThis makes dumpkeys skip all the short-hand heuristics (see keymaps(5)) and output the key bindings in the canonical form.help + man
-1, --separate-lines --separate-linesThis forces dumpkeys to write one line per (modifier,keycode) pair.help + man
-S, --shape 2|4|8|16help
-t, --funcs-only --funcs-onlyWhen this option is given, dumpkeys prints only the function key string definitions.help + man
-k, --keys-only --keys-onlyWhen this option is given, dumpkeys prints only the key bindings.help + man
-d, --compose-only --compose-onlyWhen this option is given, dumpkeys prints only the compose key combinations.help + man
-c, --charset CHARSETinterpret character action codes to be from the specified character set.help
-C, --console DEVthe console device to be used.help
-v, --verbose --verboseTurn on verbose output.help + man
-V, --version --versionPrints version number and exits.help + man
-h, --help --helpPrints the program's version number and a short usage message to the program's standard error output and exits.help + man
-Sshape --shape=shapeAvailable shapes: (in the manual page but not in --help)man
-ccharset --charset=charsetThis instructs dumpkeys to interpret character code values according to the specified character set. (in the manual page but not in --help)man
-Cdev --console=devThe affected console device can be specified using the -C (or --console ) option. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.