[SCM] Debian Live manual branch, master, updated. de429babb7c677a3e42d4a31fac0d74e2c30aae3

Daniel Baumann daniel at debian.org
Fri Nov 7 05:19:58 UTC 2008


The following commit has been merged in the master branch:
commit de429babb7c677a3e42d4a31fac0d74e2c30aae3
Author: Hans Ekbrand <hans at sociologi.cjb.net>
Date:   Fri Nov 7 06:19:19 2008 +0100

    Adding information about --bootappend-live, locale and keyb.

diff --git a/chapters/live-environment.xml b/chapters/live-environment.xml
index 65f8a29..e197db5 100644
--- a/chapters/live-environment.xml
+++ b/chapters/live-environment.xml
@@ -33,7 +33,30 @@
 
 <section id="language">
 <title>Language</title>
-<para>FIXME</para>
+<para>When the live system boots there are three process which concerns language: the locale generation, setting the keyboard layout for the console and setting the keyboard layout for X. To define the locale that should be generated, use the <computeroutput>locale<computeroutput> parameter to the <computeroutput>--bootappend-live<computeroutput> option of <filename>lh_config</filename>, e.g.:
+
+<screen>lh_config --bootappend-live "locale=sv_SE.utf8"</screen>
+
+Both the console and X keyboard configuration depends on the <computeroutput>keyb</computeroutput> parameter of the <computeroutput>--bootappend-live</computeroutput>option. Valid options for X keyboard layouts can be found in <filename>/etc/X11/xkb/base.xml</filename>. To find the value (the two characters) corresponding to a language try searching for the english name of the nation where the language is spoken, e.g:
+
+<screen>$ grep -i sweden -C3 /etc/X11/xkb/base.xml | grep name
+        \<name\>se\<\/name\>
+</screen>
+
+To get the locale files for swedish generated and a swedish keyboard layout in X use:
+
+<screen>lh_config --bootappend-live "locale=sv_SE.utf8 keyb=se"</screen>
+
+</para>
+<para>
+A list of the valid values of the keyboards for the console can be figured with the following command:
+<screen>for i in `find /usr/share/keymaps/ -iname "*kmap.gz"`; do basename $i | head -c -9; echo; done | sort | less </screen>
+
+To make the console keyboard use a swedish layout use
+
+<screen>lh_config --bootappend-live "locale=sv_SE.utf8 keyb=se-latin1"</screen>
+
+</para>
 </section>
 
 <section id="persistence">

-- 
Debian Live manual



More information about the debian-live-changes mailing list