KEYTAB-LILO.PL(8)
π
KEYTAB-LILO.PL(8) β aka keytab-lilo
ok bestie, gather round, because this one is a little compiler for your keyboard and it's genuinely iconic β¨
πΈ NAME πΈ
keytab-lilo β compiles keytable files so LILO can actually use them π
π¦ SYNOPSIS π¦
/usr/sbin/keytab-lilo [-p R old_code = new_code ] ... [default_layout]
kbd_layout
π DESCRIPTION π
so keytab-lilo is a program that takes keytable definitions β written in the format that keytables(5) lays out β and compiles them into a format lilo(8) can use to set the keyboard type at boot time. specifically, it hooks into the keytable parameter in /etc/lilo.conf. no cap, that's the whole job π
kbd_layout should be the name of a map file that specifies the keyboard layout you actually want. and listen β this file can be gzip(1) compressed, we're flexible like that. if you don't give a file extension, .map.gz is assumed. if you don't give the full pathname, /usr/share/keymaps/ is assumed. so the vibes are: just tell it the name, it'll figure out the rest π«Ά
now here's the tea: lilo basically only needs to know the differences between the BIOS keyboard mapping and the one you want. so the default_layout file should contain a keytables(5) file for the BIOS default mapping. if you don't specify a default_layout file at all, then us.map.gz gets used. it's giving "sensible defaults, main character energy" π
and the output? keytab-lilo writes the output translation table as a binary string to standard output, so you absolutely should redirect it to a suitable file, bestie. do not just let it spill out onto your terminal, that's chaos π
lilo has no particular restrictions on what you name your keyboard translation files, but the suggested naming convention and location is /boot/mapping.ktl β where .ktl stands for "Keyboard Table for Lilo". cute, right? π
β¨ OPTIONS β¨
-pR old_code = new_codeβ specifies corrections ("patches") to the mapping obtained from the translation table files. for example, if pressing the upper case"A"should yield an at sign, you'd use-p 65=64. the-poption can be repeated any number of times, so go off, stack as many as you need π . the codes can also be given as hexadecimal or as octal numbers if they're prefixed with0xor0, respectively π§
π EXAMPLES π
keytab-lilo dvorak >/boot/dvorak.ktl
this is the most common form of invocation, and honestly it's the one you'll use 99% of the time. it simply compiles the given map file β in this case dvorak β and puts the result in /boot/dvorak.ktl. slay π₯
π AUTHOR π
Werner Almesberger (almesber@bernina.ethz.ch).
Peter Maydell (pmaydell@chiark.greenend.org.uk) wrote this manual page. we love a documentation girlie π
π SEE ALSO π
lilo(8), keytables(5), gzip(1)
lilo comes with extensive documentation which can be found in /usr/share/doc/lilo-doc/ on Debian-based systems. go read it, iykyk π
ok that's the whole page bestie, every flag, every default, every path, all of it. now go compile yourself a keyboard and be the main character of your own boot process π
April 1998 β KEYTAB-LILO.PL(8) π that's the date and the source, mwah, bye bestie π«Ά
π¦ where this page comes from
- ubuntu jammy: lilo 1:24.2-5.1 Β· BSD-3-Clause
- Copyright 1992-1994 Werner Almesberger
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms