Changeset b1a51ac1 for chapter07


Ignore:
Timestamp:
12/10/2013 11:37:38 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter07
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chapter07.xml

    rf2a5108 rb1a51ac1  
    1818  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinks.xml"/>
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hostname.xml"/>
     20  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clock.xml"/>
    2021  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="console.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/>
  • chapter07/console.xml

    rf2a5108 rb1a51ac1  
    2222  <para>The <command>systemd-vconsole-setup</command> service reads the
    2323  <filename>/etc/vconsole.conf</filename> file for configuration
    24   information.  Decide which keymap and screen font will be used. Various
     24  information. Decide which keymap and screen font will be used. Various
    2525  language-specific HOWTOs can also help with this, see <ulink
    26   url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>. If still in
    27   doubt, look in the <filename class="directory">/usr/share/keymaps</filename>
    28   and <filename class="directory">/usr/share/consolefonts</filename> directories
    29   for valid keymaps and screen fonts. Read <filename>loadkeys(1)</filename> and
    30   <filename>setfont(8)</filename> manual pages to determine the correct
    31   arguments for these programs.</para>
     26  url="http://www.tldp.org/HOWTO/HOWTO-INDEX/other-lang.html"/>.
     27  Examine <command>localectl list-keymaps</command> output for a list of
     28  valid console keymaps. Look in
     29  <filename class="directory">/usr/share/consolefonts</filename>
     30  directory for valid screen fonts.</para>
    3231
    3332  <para>The <filename>/etc/vconsole.conf</filename> file should contain lines
     
    8079<screen role="nodump"><userinput>cat &gt; /etc/vconsole.conf &lt;&lt; "EOF"
    8180<literal>KEYMAP=de-latin1
    82 FONT=latarcyrheb-sun16</literal>
     81FONT=Lat2-Terminus16</literal>
    8382EOF</userinput></screen>
    8483
    85   <!-- Added because folks keep posting their console file with X questions
    86   to blfs-support list -->
    87   <note>
    88     <para>The <filename>/etc/vconsole.conf</filename> file only controls
    89     localization of the Linux text console. It has nothing to do with setting
    90     the proper keyboard layout and terminal fonts in the X Window System, with
    91     ssh sessions, or with a serial console.</para>
    92   </note>
     84  <para>You can change KEYMAP value at runtime by using the
     85  <command>localectl</command> utility:</para>
     86
     87<screen role="nodump"><userinput>localectl set-keymap MAP</userinput></screen>
     88
     89  <note><para>Please note that <command>localectl</command> command can
     90  be used  only on a system booted with Systemd.</para></note>
     91
     92  <para>You can also use <command>localectl</command> utility with the
     93  corresponding parameters to change X11 keyboard layout, model, variant
     94  and options:</para>
     95
     96<screen role="nodump"><userinput>localectl set-x11-keymap LAYOUT [MODEL] [VARIANT] [OPTIONS]</userinput></screen>
     97
     98  <para>To list possible values for <command>localectl set-x11-keymap</command>
     99  parameters, run <command>localectl</command> with parameters listed below:
     100  </para>
     101
     102  <variablelist>
     103
     104    <varlistentry>
     105      <term>list-x11-keymap-models</term>
     106      <listitem>
     107        <para>Show known X11 keyboard mapping models.</para>
     108      </listitem>
     109    </varlistentry>
     110
     111    <varlistentry>
     112      <term>list-x11-keymap-layouts</term>
     113      <listitem>
     114        <para>Show known X11 keyboard mapping layouts.</para>
     115      </listitem>
     116    </varlistentry>
     117
     118    <varlistentry>
     119      <term>list-x11-keymap-variants</term>
     120      <listitem>
     121        <para>Show known X11 keyboard mapping variants.</para>
     122      </listitem>
     123    </varlistentry>
     124
     125    <varlistentry>
     126      <term>list-x11-keymap-options</term>
     127      <listitem>
     128        <para>Show known X11 keyboard mapping options.</para>
     129      </listitem>
     130    </varlistentry>
     131
     132  </variablelist>
     133
     134  <note><para>Using any of the parameters listed above requires
     135  XKeyboard Config package from BLFS.</para></note>
    93136
    94137</sect1>
  • chapter07/introduction.xml

    rf2a5108 rb1a51ac1  
    3636  </itemizedlist>
    3737
    38   <para>Third, configuring the hostname, and keyboard layout.</para>
     38  <para>Third, configuring the hostname, system clock, and keyboard layout.</para>
    3939
    4040  <itemizedlist>
    4141     <listitem>
    4242       <para><xref linkend="ch-scripts-hostname" role="."/></para>
     43     </listitem>
     44     <listitem>
     45       <para><xref linkend="ch-scripts-clock" role="."/></para>
    4346     </listitem>
    4447     <listitem>
  • chapter07/symlinks.xml

    rf2a5108 rb1a51ac1  
    1212
    1313  <sect2>
    14 
    1514    <title>Dealing with duplicate devices</title>
    1615
  • chapter07/udev.xml

    rf2a5108 rb1a51ac1  
    1616  </indexterm>
    1717
    18   <para>In <xref linkend="chapter-building-system"/>, we installed the Udev
    19   package. Before we go into the details regarding how this works,
    20   a brief history of previous methods of handling devices is in
    21   order.</para>
     18  <para>In <xref linkend="chapter-building-system"/>, we installed Udev
     19  from the Systemd source package. Before we go into the details regarding
     20  how this works, a brief history of previous methods of handling devices
     21  is in order.</para>
    2222
    2323  <para>Linux systems in general traditionally use a static device creation
     
    119119      device it is creating, it will leave the permissions and ownership at
    120120      whatever <systemitem class="filesystem">devtmpfs</systemitem> used
    121       initially.</para> </sect3>
     121      initially.</para>
     122
     123    </sect3>
    122124
    123125    <sect3>
     
    329331      </listitem>
    330332
    331 <!--  No longer available
    332       <listitem>
    333         <para>Pointers to further reading
    334         <ulink url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"/>
    335         </para>
    336       </listitem>
    337 -->
    338333    </itemizedlist>
    339334
Note: See TracChangeset for help on using the changeset viewer.