source: BOOK/bootscripts/common/console.xml@ 5e137e4

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5e137e4 was 40fbd36, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Re-write the console page to configure the keymap and font so
systemd can set them on startup.

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-scripts-console">
9 <?dbhtml filename="console.html"?>
10 <title>Configuring the Linux Console</title>
11
12 <indexterm zone="ch-scripts-console">
13 <primary sortas="d-console">console</primary>
14 <secondary>configuring</secondary></indexterm>
15
16 <para>This section discusses how to configure the
17 <filename>vconsole.conf</filename> file that sets up the keyboard map and the
18 console font. If non-ASCII characters (e.g., the British pound sign and Euro
19 character) will not be used and the keyboard is most likely a U.S. one. The
20 defaults in the file will probably be suitable for you.</para>
21
22 <para>The <filename>vconsole.conf</filename> file is read by the init system
23 and applied on startup. Decide which keymap and screen font will be used.
24 Various language-specific HOWTO's can also help with this (see
25 <ulink url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>. Look in
26 <filename class="directory">/usr/share/consolefonts</filename> for valid
27 screen fonts and <filename class="directory">/usr/share/keymaps</filename> for
28 valid keymaps.</para>
29
30 <para>The default <filename>/etc/vconsole.conf</filename> is set up for a us
31 keymap. You will need to edit the file to your specific needs. The
32 <filename>vconsole.conf</filename> man page has some information about
33 additional configuration options you may need or want.</para>
34
35<screen><userinput>cat &gt; /etc/vconsole.conf &lt;&lt; "EOF"
36# Begin /etc/vconsole.conf
37
38KEYMAP=us
39FONT=drdos8x16
40
41# End /etc/vconsole.conf
42EOF</userinput></screen>
43
44</sect1>
Note: See TracBrowser for help on using the repository browser.