A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/linux-unix/dumpkeys-command-in-linux-with-examples/ below:

dumpkeys command in Linux with examples

dumpkeys command in Linux with examples

Last Updated : 05 May, 2025

'dumpkeys' command in Linux is used for the dump keyboard translation tables. It writes to the standard output and the current contents of the keyboard driver's translation tables in the format specified by Keymaps. Part of the kbd package, it displays the key bindings, function key strings, and compose key combinations defined by the active keymap, formatted according to the keymaps specification.

This tool is essential for Linux administrators, developers, and pentesters who need to inspect or modify keyboard layouts for accessibility, localization, or troubleshooting.

Syntax
dumpkeys [Options]
dumpkeys command Common Options for 'dumpkeys'

Here’s a breakdown of the most common options you can use with 'dumpkeys' to retrieve specific information:

1. -h(- -help):

Displays the list of available options for the dumpkeys command and exits.

help menu 2. -i(- -short-info):

Prints out the characteristics of the kernel keyboard driver. Information shown are:

3. -l(- -long-info):

Instructs dumpkeys to print out long information with the list of all action symbols supported by dumpkeys along with symbol's numeric values.

3. -n(- -numeric):

By-pass the conversion of action code values to symbolic notation and to print the in hexadecimal format instead.

4. -f(- -full-table):

Skips all short-hand doubtful output and binds the output in canonical form.

5. -t(--funcs-only):

Usually dumpkeys prints both the key bindings and the string definitions however, if you specify this option it will print only the function key string definitions.

6. -k(--keys-only):

Usually dumpkeys prints both the key bindings and the string definitions however, if you specify this option then it will print out keys bindings only.

7. -d(--compose-only):

It prints out only compose key combinations, only if your kernel supports compose key support.

8. -c(--charset):

It Interprets character action codes to be from the specified character set.

charset option Conclusion

The dumpkeys command is a highly versatile utility for Linux users who need to manage and troubleshoot keyboard layouts. By understanding its options and how to use them effectively, you can take full control over your Linux system's keyboard configuration.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4