- Timestamp:
- 12/10/2013 11:37:38 PM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 112db9d
- Parents:
- f2a5108
- Location:
- chapter07
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/chapter07.xml
rf2a5108 rb1a51ac1 18 18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="symlinks.xml"/> 19 19 <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"/> 20 21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="console.xml"/> 21 22 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="locale.xml"/> -
chapter07/console.xml
rf2a5108 rb1a51ac1 22 22 <para>The <command>systemd-vconsole-setup</command> service reads the 23 23 <filename>/etc/vconsole.conf</filename> file for configuration 24 information. 24 information. Decide which keymap and screen font will be used. Various 25 25 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> 32 31 33 32 <para>The <filename>/etc/vconsole.conf</filename> file should contain lines … … 80 79 <screen role="nodump"><userinput>cat > /etc/vconsole.conf << "EOF" 81 80 <literal>KEYMAP=de-latin1 82 FONT= latarcyrheb-sun16</literal>81 FONT=Lat2-Terminus16</literal> 83 82 EOF</userinput></screen> 84 83 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> 93 136 94 137 </sect1> -
chapter07/introduction.xml
rf2a5108 rb1a51ac1 36 36 </itemizedlist> 37 37 38 <para>Third, configuring the hostname, and keyboard layout.</para>38 <para>Third, configuring the hostname, system clock, and keyboard layout.</para> 39 39 40 40 <itemizedlist> 41 41 <listitem> 42 42 <para><xref linkend="ch-scripts-hostname" role="."/></para> 43 </listitem> 44 <listitem> 45 <para><xref linkend="ch-scripts-clock" role="."/></para> 43 46 </listitem> 44 47 <listitem> -
chapter07/symlinks.xml
rf2a5108 rb1a51ac1 12 12 13 13 <sect2> 14 15 14 <title>Dealing with duplicate devices</title> 16 15 -
chapter07/udev.xml
rf2a5108 rb1a51ac1 16 16 </indexterm> 17 17 18 <para>In <xref linkend="chapter-building-system"/>, we installed theUdev19 package. Before we go into the details regarding how this works,20 a brief history of previous methods of handling devices is in21 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> 22 22 23 23 <para>Linux systems in general traditionally use a static device creation … … 119 119 device it is creating, it will leave the permissions and ownership at 120 120 whatever <systemitem class="filesystem">devtmpfs</systemitem> used 121 initially.</para> </sect3> 121 initially.</para> 122 123 </sect3> 122 124 123 125 <sect3> … … 329 331 </listitem> 330 332 331 <!-- No longer available332 <listitem>333 <para>Pointers to further reading334 <ulink url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"/>335 </para>336 </listitem>337 -->338 333 </itemizedlist> 339 334
Note:
See TracChangeset
for help on using the changeset viewer.