YouTip LogoYouTip

Linux Comm Loadkeys

# Linux loadkeys Command [![Image 3: Linux Command List](#) Linux Command List](#) The Linux loadkeys command changes the Linux keyboard driver's translation of keyboard input based on a keyboard definition table. For detailed information, please refer to dumpkeys. ### Syntax loadkeys [ -v --verbose ...] [ filename... ] **Parameters**: * -v --verbose: Prints detailed information. You can repeat it to increase verbosity. * -q --quiet: Do not display any messages. * -c --clearcompose: Clear all composite definitions. * -s --clearstrings: Clear the string definition table. ### Example Define key combinations
# loadkeys control alt keycode 88 = F80 // Now determine the key code
string F80=".com" // Set the value for the variable
// Press Ctrl + D key to confirm input
// Effect: Pressing Ctrl + Alt + F12 outputs Lx138.Com
# dumpkeys --funcs-only // Display function keys
// ... some results omitted
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"
string F80 = ".com"
[![Image 4: Linux Command List](#) Linux Command List](#)
← Os OpenptyLinux Comm Setleds β†’