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. Specially, if "@kernel" is specified,
44 no keymap will be loaded, i.e. the kernel's default keymap is used.
45 The KEYMAP_TOGGLE= can be used to configure a second toggle keymap
46 and is by default unset.
47
48 FONT=, FONT_MAP=, FONT_UNIMAP=
49 Configures the console font, the console map and the unicode font
50 map.
51
53 A few configuration parameters from vconsole.conf may be overridden on
54 the kernel command line:
55
56 vconsole.keymap=, vconsole.keymap_toggle=
57 Overrides KEYMAP= and KEYMAP_TOGGLE=.
58
59 vconsole.font=, vconsole.font_map=, vconsole.font_unimap=
60 Overrides FONT=, FONT_MAP=, and FONT_UNIMAP=.
61
63 Example 1. German keyboard and console
64
65 /etc/vconsole.conf:
66
67 KEYMAP=de-latin1
68 FONT=eurlatgr
69
71 systemd(1), systemd-vconsole-setup.service(8), loadkeys(1), setfont(8),
72 locale.conf(5), systemd-localed.service(8)
73
74
75
76systemd 254 VCONSOLE.CONF(5)