]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-vconsole-setup.service.xml
man: Add xinclude namespace
[thirdparty/systemd.git] / man / systemd-vconsole-setup.service.xml
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id="systemd-vconsole-setup.service" conditional='ENABLE_VCONSOLE'
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>systemd-vconsole-setup.service</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>systemd-vconsole-setup.service</refentrytitle>
16 <manvolnum>8</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>systemd-vconsole-setup.service</refname>
21 <refname>systemd-vconsole-setup</refname>
22 <refpurpose>Configure the virtual consoles</refpurpose>
23 </refnamediv>
24
25 <refsynopsisdiv>
26 <para><filename>systemd-vconsole-setup.service</filename></para>
27 <cmdsynopsis>
28 <command>/usr/lib/systemd/systemd-vconsole-setup</command>
29 <arg choice="opt">TTY</arg>
30 </cmdsynopsis>
31 </refsynopsisdiv>
32
33 <refsect1>
34 <title>Description</title>
35
36 <para><filename>systemd-vconsole-setup</filename> sets up and configures either all virtual consoles, or
37 — if the optional <replaceable>TTY</replaceable> parameter is provided — a specific one. When the system
38 is booting up, <filename>systemd-vconsole-setup.service</filename> is called by
39 <citerefentry><refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum></citerefentry> during
40 VT console subsystem initialization. Also,
41 <citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
42 invokes it as needed when language or console changes are made.
43 Internally, this program calls
44 <citerefentry project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry>
45 and
46 <citerefentry project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
47 </para>
48
49 <para>Execute <command>systemctl restart systemd-vconsole-setup.service</command> in order to apply any manual
50 changes made to <filename>/etc/vconsole.conf</filename>.</para>
51
52 <para>See <citerefentry><refentrytitle>vconsole.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
53 information about the configuration files and kernel command line options understood by this program.</para>
54 </refsect1>
55
56 <refsect1>
57 <title>Credentials</title>
58
59 <para><command>systemd-vconsole-setup</command> supports the service credentials logic as implemented by
60 <varname>ImportCredential=</varname><varname>LoadCredential=</varname>/<varname>SetCredential=</varname>
61 (see <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
62 details). The following credentials are used when passed in:</para>
63
64 <variablelist class='system-credentials'>
65 <varlistentry>
66 <term><varname>vconsole.keymap</varname></term>
67 <term><varname>vconsole.keymap_toggle</varname></term>
68
69 <listitem><para>The keymap (and toggle keymap) to apply. The matching options in
70 <filename>vconsole.conf</filename> and on the kernel command line take precedence over these
71 credentials.</para>
72
73 <para>Note the relationship to the <varname>firstboot.keymap</varname> credential understood by
74 <citerefentry><refentrytitle>systemd-firstboot.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>:
75 both ultimately affect the same setting, but <varname>firstboot.keymap</varname> is written into
76 <filename>/etc/vconsole.conf</filename> on first boot (if not already configured), and then read from
77 there by <command>systemd-vconsole-setup</command>, while <varname>vconsole.keymap</varname> is read
78 on every boot, and is not persisted to disk (but any configuration in
79 <filename>vconsole.conf</filename> will take precedence if present).</para></listitem>
80 </varlistentry>
81
82 <varlistentry>
83 <term><varname>vconsole.font</varname></term>
84 <term><varname>vconsole.font_map</varname></term>
85 <term><varname>vconsole.font_unimap</varname></term>
86
87 <listitem><para>The console font settings to apply. The matching options in
88 <filename>vconsole.conf</filename> and on the kernel command line take precedence over these
89 credentials.</para></listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect1>
93
94 <refsect1>
95 <title>See Also</title>
96 <para>
97 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
98 <citerefentry><refentrytitle>vconsole.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
99 <citerefentry project='mankier'><refentrytitle>loadkeys</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
100 <citerefentry project='die-net'><refentrytitle>setfont</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
101 <citerefentry><refentrytitle>systemd-localed.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
102 </para>
103 </refsect1>
104
105 </refentry>