Easy Tutorial
❮ Linux Comm Efax Linux Comm Zipinfo ❯

Linux dumpkeys Command

Linux Command Manual

The Linux dumpkeys command is used to display the keyboard map table. The output can be recognized by the loadkeys command to change the mapping relationship.

Syntax

dumpkey[options]

Parameter Description:

Examples

Display function key information

# dumpkeys --funcs-only 
string F1 = "\033[[A"
string F2 = "\033[[B"
string F3 = "\033[[C"
string F4 = "\033[[D"
string F5 = "\033[[E"
string F6 = "\033[17~"
string F7 = "\033[18~"
string F8 = "\033[19~"
string F9 = "\033[20~"
string F10 = "\033[21~"
string F11 = "\033[23~"
string F12 = "\033[24~"
string F13 = "\033[25~"
string F14 = "\033[26~"
string F15 = "\033[28~"
string F16 = "\033[29~"
string F17 = "\033[31~"
string F18 = "\033[32~"
string F19 = "\033[33~"
string F20 = "\033[34~"
string Find = "\033[1~"
string Insert = "\033[2~"
string Remove = "\033[3~"
string Select = "\033[4~"
string Prior = "\033[5~"
string Next = "\033[6~"
string Macro = "\033[M"
string Pause = "\033[P"
root@snail-hnlinux:~#

Display driver information

# dumpkeys -i
Key code range supported by the kernel: 1 - 255
Maximum actions that can be bound to key codes: 256
Actual number of key codes in use: 128
Of which 121 are dynamically allocated
Action code value range supported by the kernel
0x0000 - 0x00ff
0x0100 - 0x01ff
0x0200 - 0x0213
0x0300 - 0x0313
0x0400 - 0x0405
0x0500 - 0x05ff
0x0600 - 0x0603
0x0700 - 0x0708
0x0800 - 0x08ff
0x0900 - 0x0919
0x0a00 - 0x0a08
0x0b00 - 0x0bff
0x0c00 - 0x0c08
0x0d00 - 0x0dff
0x0e00 - 0x0e0a
Number of function keys supported by the kernel: 256
Maximum nr of compose definitions: 256
Actual nr of compose definitions in use: 68

Linux Command Manual

❮ Linux Comm Efax Linux Comm Zipinfo ❯