VCONSOLE.CONF(5)

πŸ’… VCONSOLE.CONF(5) β€” the vconsole.conf glow-up ✨

okay bestie, welcome to the vconsole.conf(5) page β€” it's the manpage for /etc/vconsole.conf, the configuration file for the virtual console 🌸


✨ SYNOPSIS ✨

/etc/vconsole.conf

πŸŽ€ DESCRIPTION πŸŽ€

so like, the /etc/vconsole.conf file configures the virtual console β€” that's your keyboard mapping and your console font, periodt πŸ’…. It gets applied at boot by udev using the 90-vconsole.rules file. And here's the fun part: you can safely mask this file if you wanna avoid this kind of initialization entirely 🫢.

The format of vconsole.conf is a newline-separated list of environment-like shell-compatible variable assignments, ignoring comments and empty lines ✨. Yes, it's possible to source the config from shell scripts β€” but ngl, beyond mere variable assignments no shell features are supported, which lets applications read the file without implementing a whole shell-compatible execution engine 😭. It's giving efficiency. See os-release(5) for a detailed description of the format πŸ‘‘

heads up bestie: the kernel command line options vconsole.keymap=, vconsole.keymap_toggle=, vconsole.font=, vconsole.font_map=, vconsole.font_unimap= may be used to override the console settings at boot πŸ”₯

Depending on the operating system, other configuration files might be checked for configuration of the virtual console as well β€” however only as fallback πŸ™ˆ.

/etc/vconsole.conf is usually created and updated using systemd-localed.service(8). And localectl(1) may be used to instruct systemd-localed.service to query or update configuration πŸ¦‹.


🌈 OPTIONS 🌈

the following options are understood, bestie:

  • KEYMAP=, KEYMAP_TOGGLE= β€” configures the key mapping table for the keyboard πŸ’«. KEYMAP= defaults to "us" if not set. As a special case, if "@kernel" is specified, no keymap will be loaded, i.e. the kernel's default keymap will be used. The KEYMAP_TOGGLE= can be used to configure a second toggle keymap and is by default unset πŸŽ€.
  • FONT=, FONT_MAP=, FONT_UNIMAP= β€” configures the console font, the console map and the unicode font map πŸ’–.

πŸ‘‘ KERNEL COMMAND LINE πŸ‘‘

a few configuration parameters from vconsole.conf may be overridden on the kernel command line β€” main character energy fr fr:

  • vconsole.keymap=, vconsole.keymap_toggle= β€” overrides KEYMAP= and KEYMAP_TOGGLE= πŸ”₯.

Added in version 232 ⭐.

  • vconsole.font=, vconsole.font_map=, vconsole.font_unimap= β€” overrides FONT=, FONT_MAP=, and FONT_UNIMAP= 🌸.

Added in version 232 ⭐.


πŸ¦‹ EXAMPLE πŸ¦‹

Example 1. German keyboard and console πŸ‡©πŸ‡ͺ

/etc/vconsole.conf:

KEYMAP=de-latin1
FONT=eurlatgr

ate, no crumbs πŸ’…


πŸ’œ SEE ALSO πŸ’œ

systemd(1), systemd-vconsole-setup.service(8), loadkeys(1), setfont(8), locale.conf(5), systemd-localed.service(8) 🫢


and that's the whole page, bestie!! this one's from systemd 259.10 and it's literally the VCONSOLE.CONF(5) page β€” go configure your console, ily, bye πŸ˜­πŸ’–βœ¨

πŸ“¦ where this page comes from