Forráskód Böngészése

added chapter06/config-keyboard.xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1695 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 éve
szülő
commit
4c1a3af90c
4 módosított fájl, 27 hozzáadás és 0 törlés
  1. 5 0
      chapter01/changelog.xml
  2. 20 0
      chapter06/config-keyboard.xml
  3. 1 0
      chapter06/configure.xml
  4. 1 0
      index.xml

+ 5 - 0
chapter01/changelog.xml

@@ -30,6 +30,11 @@
 
 </para></listitem>
 
+<listitem><para>March 10th, 2002 [gerard]: Chapter 06 - Configure keyboard:
+Added section to configure keyboard keymap file by creating the <filename
+class="symlink">/usr/share/kbd/keymaps/defkeymap.map.gz</filename>
+symlink.</para></listitem>
+
 <listitem><para>March 9th, 2002 [gerard]: Chapter 08 - Make bootable: Added
 a <userinput>cp</userinput> command that finds all the kernel images from
 <filename>/etc/lilo.conf</filename> automatically and copies them to

+ 20 - 0
chapter06/config-keyboard.xml

@@ -0,0 +1,20 @@
+<sect2><title>Configuring your keyboard</title>
+
+<para>Nothing is more annoying than using Linux with a wrong keymap loaded
+for your keyboard. If you have a default US keyboard, you can skip this
+section. The US keymap file is the default if you don't change it.</para>
+
+<para>To set the default keymap file, create the 
+<filename class="symlink">/usr/share/kbd/keymap/defkeymap.map.gz</filename>
+symlink by running the following commands:</para>
+
+<para><screen><userinput>cd /usr/share/kbd/keymaps &amp;&amp;
+ln -s &lt;path/to/keymap&gt; defkeymap.map.gz</userinput></screen></para>
+
+<para>Replace &lt;path/to/keymap&gt; with the your keyboard's map file. For
+example, if you have a Dutch keyboard, you would run:</para>
+
+<para><screen><userinput>ln -s i386/qwerty/nl.map.gz defkeymap.map.gz</userinput></screen></para>
+
+</sect2>
+

+ 1 - 0
chapter06/configure.xml

@@ -11,6 +11,7 @@ programs running properly is to create their configuration files.</para>
 &c6-cf-sysklogd;
 &c6-cf-shadowpwd;
 &c6-cf-sysvinit;
+&c6-cf-keyboard;
 &c6-cf-utmp;
 &c6-cf-password;
 

+ 1 - 0
index.xml

@@ -330,6 +330,7 @@
 <!ENTITY c6-cf-sysklogd SYSTEM "chapter06/config-sysklogd.xml">
 <!ENTITY c6-cf-shadowpwd SYSTEM "chapter06/config-shadowpwd.xml">
 <!ENTITY c6-cf-sysvinit SYSTEM "chapter06/config-sysvinit.xml">
+<!ENTITY c6-cf-keyboard SYSTEM "chapter06/config-keyboard.xml">
 <!ENTITY c6-cf-utmp SYSTEM "chapter06/create-utmp.xml">
 <!ENTITY c6-cf-vim SYSTEM "chapter06/config-vim.xml">
 <!ENTITY c6-cf-password SYSTEM "chapter06/create-password.xml">