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 basic file format of the vconsole.conf is a newline-separated list
18 of environment-like shell-compatible variable assignments. It is
19 possible to source the configuration from shell scripts, however,
20 beyond mere variable assignments no shell features are supported,
21 allowing applications to read the file without implementing a shell
22 compatible execution engine.
23
24 Note that the kernel command line options vconsole.keymap=,
25 vconsole.keymap_toggle=, vconsole.font=, vconsole.font_map=,
26 vconsole.font_unimap= may be used to override the console settings at
27 boot.
28
29 Depending on the operating system other configuration files might be
30 checked for configuration of the virtual console as well, however only
31 as fallback.
32
33 /etc/vconsole.conf is usually created and updated using systemd-
34 localed.service(8). localectl(1) may be used to instruct
35 systemd-localed.service to query or update configuration.
36
38 The following options are understood:
39
40 KEYMAP=, KEYMAP_TOGGLE=
41 Configures the key mapping table for the keyboard. KEYMAP=
42 defaults to "us" if not set. The KEYMAP_TOGGLE= can be used to
43 configure a second toggle keymap and is by default unset.
44
45 FONT=, FONT_MAP=, FONT_UNIMAP=
46 Configures the console font, the console map and the unicode font
47 map.
48
50 A few configuration parameters from vconsole.conf may be overridden on
51 the kernel command line:
52
53 vconsole.keymap=, vconsole.keymap_toggle=
54 Overrides KEYMAP= and KEYMAP_TOGGLE=.
55
56 vconsole.font=, vconsole.font_map=, vconsole.font_unimap=
57 Overrides FONT=, FONT_MAP=, and FONT_UNIMAP=.
58
60 Example 1. German keyboard and console
61
62 /etc/vconsole.conf:
63
64 KEYMAP=de-latin1
65 FONT=eurlatgr
66
68 systemd(1), systemd-vconsole-setup.service(8), loadkeys(1), setfont(8),
69 locale.conf(5), systemd-localed.service(8)
70
71
72
73systemd 239 VCONSOLE.CONF(5)