English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux loadkeys command

Linux Command大全

The Linux loadkeys command can change the translation process of keyboard input for the Linux keyboard driver based on a keyboard definition table. For detailed instructions, please refer to dumpkeys.

Syntax

loadkeys [ -d --default ] [ -h --help ] [ -q --quiet ] [ -v --verbose [ -v --verbose ]... -m --mktable ] [ -c --clearcompose ] [ -s --clearstrings ] [ filename... ]

Parameters:

  • -v --verbose: Print detailed information, you can repeat it to increase the detail level.
  • -q --quiet: Do not display any messages.
  • -c --clearcompose: Clear all composite definitions.
  • -s --clearstrings: Clear the definition table of the string.

Online Example

Define Key Combination
<pre>
# loadkeys 
control alt keycode 88 = F80 //Now determine the key code
string F80="oldtoolbag.com" //To assign a value to a variable
//Press Ctrl + D key to confirm input
//Effect: Press Ctrl +Alt + F12 Output Lx138.Com
# dumpkeys --funcs-only //Display Function Keys
……Omitted Part of the Result
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"
string F80 = "oldtoolbag.com"

Linux Command大全