YouTip LogoYouTip

Linux Comm Dumpkeys

Linux dumpkeys Command body { font-family: Arial, sans-serif; line-height: 1.6; max-width: 1200px; margin: 0 auto; padding: 20px; } pre { background-color: #f5f5f5; padding: 15px; border-radius: 5px; overflow-x: auto; } code { font-family: monospace; } .note { background-color: #fff3cd; border: 1px solid #ffeaa7; padding: 10px; border-radius: 5px; margin: 10px 0; }

Linux dumpkeys Command

-- What you learn is not just technology, but also a dream!

Linux Tutorial

Linux Tutorial Linux Introduction Linux Installation Linux Cloud Server WSL Install Linux Linux System Boot Process Linux System Directory Structure Linux Forgot Password Solutions Linux Remote Login Linux File Basic Attributes Linux File and Directory Management Linux User and Group Management Linux Disk Management Linux vi/vim Linux yum command Linux apt command

Shell Tutorial

Shell Tutorial Shell Variables Shell Passing Arguments Shell Arrays Shell Operators Shell echo command Shell printf command Shell test command Shell Process Control Shell Functions Shell Input/Output Redirection Shell File Inclusion

Linux Reference Manual

Linux Command Manual Nginx Installation and Configuration MySQL Installation and Configuration Linux Quiz

Shell File Inclusion

Nginx Installation and Configuration

Explore Further

Scripts

Development Tools

Scripting Languages

Network Services

Programming Languages

Programming

Computer Science

Web Design and Development

Web Service

Software

Linux dumpkeys Command

Linux Command Manual

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

Syntax

dumpkeys 

Parameter Description:

  • -i Driver information (key code range, count, state keys)
  • -l Detailed driver information
  • -n Display in hexadecimal
  • -f Display all information
  • -1 Display key combinations line by line
  • -S Set output format (0: default 1: complete 2: line by line 3: simple)
  • --funcs-only Function key information
  • --keys-only Key combination information
  • --compose-only Regular key information

Examples

Display function key information:

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

Display driver information:

# dumpkeys -i
Key code range supported by kernel: 1 - 255
Max value for actions bindable to key: 256
Actual number of key values in use: 128
  of which 121 have been dynamically allocated
Action code value ranges supported by 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 kernel: 256
Max nr for compose definitions: 256
Actual nr of compose definitions in use: 68

Linux Command Manual

← Linux Comm MakedevOs Pipe β†’