1VCONSOLE.CONF(5) vconsole.conf VCONSOLE.CONF(5)
2
3
4
6 vconsole.conf - Configuration file for the virtual console
7
9 /etc/vconsole.conf
10
12 The /etc/vconsole.conf file configures the virtual console, i.e.
13 keyboard mapping and console font. It is applied at boot by udev using
14 90-vconsole.rules file. You can safely mask this file if you want to
15 avoid this kind of initialization.
16
17 The format of vconsole.conf is a newline-separated list of
18 environment-like shell-compatible variable assignments, ignoring
19 comments and empty lines. It is possible to source the configuration
20 from shell scripts, however, beyond mere variable assignments no shell
21 features are supported, allowing applications to read the file without
22 implementing a shell compatible execution engine. See os-release(5) for
23 a detailed description of the format.
24
25 Note that the kernel command line options vconsole.keymap=,
26 vconsole.keymap_toggle=, vconsole.font=, vconsole.font_map=,
27 vconsole.font_unimap= may be used to override the console settings at
28 boot.
29
30 Depending on the operating system other configuration files might be
31 checked for configuration of the virtual console as well, however only
32 as fallback.
33
34 /etc/vconsole.conf is usually created and updated using systemd-
35 localed.service(8). localectl(1) may be used to instruct
36 systemd-localed.service to query or update configuration.
37
39 The following options are understood:
40
41 KEYMAP=, KEYMAP_TOGGLE=
42 Configures the key mapping table for the keyboard. KEYMAP=
43 defaults to "us" if not set. The KEYMAP_TOGGLE= can be used to
44 configure a second toggle keymap and is by default unset.
45
46 FONT=, FONT_MAP=, FONT_UNIMAP=
47 Configures the console font, the console map and the unicode font
48 map.
49
51 A few configuration parameters from vconsole.conf may be overridden on
52 the kernel command line:
53
54 vconsole.keymap=, vconsole.keymap_toggle=
55 Overrides KEYMAP= and KEYMAP_TOGGLE=.
56
57 vconsole.font=, vconsole.font_map=, vconsole.font_unimap=
58 Overrides FONT=, FONT_MAP=, and FONT_UNIMAP=.
59
61 Example 1. German keyboard and console
62
63 /etc/vconsole.conf:
64
65 KEYMAP=de-latin1
66 FONT=eurlatgr
67
69 systemd(1), systemd-vconsole-setup.service(8), loadkeys(1), setfont(8),
70 locale.conf(5), systemd-localed.service(8)
71
72
73
74systemd 253 VCONSOLE.CONF(5)