GEN_KEYMAP(1)
π GEN_KEYMAP(1) β bestie, it's the gen_keymap era π
okay so picture this: a lil program called gen_keymap, living its best life in the LOCAL section of the manual, and it's about to make keyboard maps make sense. no cap. it's a whole vibe. let's get into it π¦
β¨ NAME β¨
gen_keymap β generate a keyboard map decision tree π³
πΈ SYNOPSIS πΈ
gen_keymap list ...
literally that's it. give it a list, it does the thing π
π DESCRIPTION π
so gen_keymap takes a whole set of keyboard maps and generates a decision tree out of them, and the whole point of that tree is to help a user figure out which keyboard map is theirs π
here's the vibe: the program that's using the decision tree typically asks the user to press some keys π«Ά. at every single step, it looks at the keycode that came back, and it uses that to prune the list of possible keyboard maps β chop chop chop β until there is only one left. one map. the main character. periodt. β¨
π OPTIONS π
--versionβ show the program's version number and dip. bye bestie π-?,--helpβ show the help text. the classic. iconic. π-v,--verboseβ be more verbose. more words, more lore, more everything π¬-mMINLEN,--minlen=MINLENβ keymaps that are too short get skipped entirely (default:30entries). tiny maps, we don't know her π-g,--graphβ generate a.dotfile that is hopefully nice-looking. hopefully!! fingers crossed fr fr π--mapsβ print out the keymaps that are about to be processed. a little sneak peek π-i,--installerβ input files are ind-imap form. noted π-IDIRS,--inc=DIRS,--include=DIRSβ add a directory to the search path. more places to look, more chances to find her π-oFILENAME,--output=FILENAMEβ set the output file (default:stdout). where the magic lands π«-fFILTER,--filter=FILTERβ include only the branches leading to these keymaps. selective. we love that π-uUSEONLY,--useonly=USEONLYβ start generating the tree based only on these keymaps. π§
okay so here's the tea on--filtervs--useonly, because they lowkey sound the same but they are NOT:--filtergenerates the whole tree and then prunes it, while--useonlyonly generates a reduced tree to begin with. this may have implications for performance on large trees. so like, pick accordingly, bestie. performance is real π
-sSKIP,--skip=SKIPβ keymaps to skip. not today, not ever π-t,--testβ test the generated maps. gotta make sure they ate π₯--interactiveβ ask the user to choose among indistinguishable keymaps. when two maps are giving the exact same energy and you need a human to break the tie π€
π AUTHORS π
gen_keymap was written by Matthias Urlichs <smurf@debian.org>. π
this manual page was written by Colin Watson <cjwatson@ubuntu.com>. π«Ά
and that's the whole page, bestie!! thanks for reading, you're doing amazing sweetie πΈπ
cute lil sign-off: this one came from Ubuntu, dated September 5, 2006, and it's filed under GEN_KEYMAP(1). historic. legendary. we stan a 2006 classic β¨π
π¦ where this page comes from
- debian bookworm: keymapper 0.6.3
- debian trixie: keymapper 0.6.4
- ubuntu jammy: keymapper 0.6.3
- ubuntu noble: keymapper 0.6.3
- ubuntu noble: keymapper 0.6.3ubuntu0~24.04
- ubuntu questing: keymapper 0.6.4
- ubuntu resolute: keymapper 0.6.4build1
- ubuntu resolute: keymapper 0.6.4ubuntu0~26.04
- ubuntu stonking: keymapper 0.6.4ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms