Changeset 40fbd36


Ignore:
Timestamp:
Feb 13, 2011, 2:22:04 PM (10 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
2164942
Parents:
6cc3c3f
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootscripts/common/console.xml

    r6cc3c3f r40fbd36  
    1414  <secondary>configuring</secondary></indexterm>
    1515
    16   <para>This section discusses how to configure the <command>i18n</command>
    17   bootscript that sets up the keyboard map and the console font. If non-ASCII
    18   characters (e.g., the British pound sign and Euro character) will not be
    19   used and the keyboard is a U.S. one, skip this section. Without the
    20   configuration file, the <command>console</command> bootscript will do
    21   nothing.</para>
     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>
    2221
    23   <para>The <command>i18n</command> script reads the
    24   <filename>/etc/sysconfig/i18n</filename> file for configuration
    25   information. Decide which keymap and screen font will be used. Various
    26   language-specific HOWTO's can also help with this (see <ulink
    27   url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>. A pre-made
    28   <filename>/etc/sysconfig/i18n</filename> file with known settings for
    29   several countries was installed with the CLFS-Bootscripts package, so the
    30   relevant section can be uncommented if the country is supported. If still
    31   in doubt, look in the <filename class="directory">/usr/share/consolefonts</filename>
    32   for valid screen fonts and <filename class="directory">/usr/share/keymaps</filename>
    33   for valid keymaps.</para>
     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>
    3429
    35   <para>The default <filename>/etc/sysconfig/i18n</filename> is set up for UTF-8
    36   using the us keymap. You will need to edit the file to your specific needs.
    37   The <filename>/etc/sysconfig/i18n</filename> file has additional information
    38   in it to help you to assist in configuring.</para>
     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>
    3943
    4044</sect1>
Note: See TracChangeset for help on using the changeset viewer.