XKBSELDB(1)
π xkbseldb β XKBSELDB(1) π
πΈ NAME πΈ
xkbseldb β maintain xkbsel databases. That's the whole vibe, bestie: it keeps your xkbsel databases cute and functional.
β¨ SYNOPSIS β¨
xkbseldb [-rRmMlLc] [-b] [-x] [-v] [--debug]
xkbseldb {--help,--version}
π DESCRIPTION π
Okay so bestie, the xkbsel package stores its keymap definitions in the system and user directory hierarchies, and it gives you access to them based on system and user configuration files. And because that's a whole lot of scattered data and the mapping selection process should be fast, the definitions are hashed and the mappings mentioned in the configuration files are precompiled into a quick readable internal form. Slay.
xkbseldb is literally the tool that maintains this internal data. The available options are:
-R,--rebuild-systemβ rebuild the system database β¨-r,--rebuild-userβ rebuild the user's database β¨-M,--missing-systemβ output a template covering missing xkbsel metadata for X11 and system mappings-m,--missing-userβ output a template covering missing user metadata-L,--list-systemβ list the content of the system database-l,--list-userβ list the content of the databases from the user's point of view-b,--briefβ when listing content, output map names only-x,--explicitβ when listing content, leave out maps that are taken from the X11 distribution without modification-c,--checkβ output the current configuration-v,--verboseβ be verbose--debugβ be very verbose π₯--helpβ output brief usage instructions--versionβ output the version of the program
You MUST rebuild the system database every single time you add or delete a keyboard mapping included in the X11 or package's system directories, when you change a metadata describing the mapping (see xkbsel(5) for the formats), or when you change the content of the XKB definitions such that the resulting mapping is different. It is strongly advised to rebuild the database when you add new shortcut definitions into the system configuration file so that the system precompiles them β otherwise they will be compiled at each user who selects them. Not ideal, bestie.
The situation for the user databases is similar β if the user's xkbsel directory is nonempty, a rebuild is needed after each change of these data. To put it shortly: if in doubt, do the rebuilds. Periodt.
The --missing-system and --missing-user options are for the people willing to define the maps themselves. The output should be filled in and installed as a redefinition file.
Don't mess with this if you only want to use the package.
Using --check and --list-user --brief can often help in debugging configuration issues. iykyk.
π FILES π
/usr/X11R6/lib/X11/xkbβ XKB hierarchy of the X11 distribution/usr/share/xkbselβ system data directory/etc/xkbsel.confβ system configuration file/var/xkbselβ system directory for the hash database and precompiled keymaps~/.xkbselβ user data directory~/.xkbsel/xkbsel.confβ user's configuration file
π¦ SEE ALSO π¦
xkbsel(1), xkbsel-aw(1), xkbsel(5)
π BUGS π
Should automagically determine when the user database needs a rebuild. Like, it just should, okay?
π AUTHOR π
Stanislav Meduna β <stano@trillian.eunet.sk>
Sign-off: this page is from xkbsel, dated 22 Jul 1999, and it's the XKBSELDB(1) manual page. Stay slay, bestie. ππ«Ά
π¦ where this page comes from
- arch rolling: xkbsel 0.13-12 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms