Author: fernando
Date: Wed Sep 3 05:47:47 2014
New Revision: 14183
Log:
LXDM-0.5.0 fixes: typo and some rewriting. Fix again localization, Thanks Armin
K.
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/lxde/apps/lxdm.xml
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Tue Sep 2 23:44:17 2014 (r14182)
+++ trunk/BOOK/general.ent Wed Sep 3 05:47:47 2014 (r14183)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "02"> <!-- Always 2 digits -->
+<!ENTITY day "03"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2014">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "September 2nd, &year;">
+<!ENTITY releasedate "September 3rd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Tue Sep 2 23:44:17
2014 (r14182)
+++ trunk/BOOK/introduction/welcome/changelog.xml Wed Sep 3 05:47:47
2014 (r14183)
@@ -45,6 +45,16 @@
-->
<listitem>
+ <para>September 3rd, 2014</para>
+ <itemizedlist>
+ <listitem>
+ <para>[fernando] - LXDM-0.5.0 fixes: typo and some rewriting. Fix
+ again localization, Thanks Armin K.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>September 2nd, 2014</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/lxde/apps/lxdm.xml
==============================================================================
--- trunk/BOOK/lxde/apps/lxdm.xml Tue Sep 2 23:44:17 2014 (r14182)
+++ trunk/BOOK/lxde/apps/lxdm.xml Wed Sep 3 05:47:47 2014 (r14183)
@@ -141,7 +141,9 @@
Now, as the <systemitem class="username">root</systemitem> user:
</para>
-<screen role="root"><userinput>make install</userinput></screen>
+<screen role="root"><userinput>make install &&
+sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
+ -i /usr/sbin/lxdm</userinput></screen>
</sect2>
@@ -169,6 +171,11 @@
systemd.
</para>
+ <para>
+ <command>sed ... -i /usr/sbin/lxdm</command>: Fix <command>lxdm</command>
+ greeter to user locale.
+ </para>
+
</sect2>
<sect2 role="configuration">
@@ -217,51 +224,36 @@
</sect3>
<sect3>
- <title>Localization</title>
-
- <para>
- If you wish <command>lxdm</command> greeter in your native language,
- for non-English speakers, a fix is necessary, as <systemitem
- class="username">root</systemitem> user:
- </para>
-
-<screen role="root"><userinput>sed -i '1a\\nexport
<replaceable><your_LANG></replaceable>'
/usr/sbin/lxdm</userinput></screen>
-
- <para>
- where the value to be used in
- <replaceable><your_LANG></replaceable> is the same you obtain with
- <command>echo $LANG</command> command.
- </para>
-
- </sect3>
-
- <sect3>
<title>Starting lxdm</title>
<para>
- You can manually start <command>lxdm</command>, e.g, if you install the
- bootscript, by running, as <systemitem
+ You can manually start <command>lxdm</command>, e.g, if the bootscript
+ has been installed, by running, as <systemitem
class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>
<para>
- Another option, change to runlevel 5, as <systemitem
- class="username">root</systemitem> user:
+ By definition, X should be executed at runlevel 5, consequently, the
+ same is true for <application>lxdm</application>. However, BLFS default
+ runlevel is 3. Changing to runlevel 5, from the terminal, as
+ <systemitem class="username">root</systemitem> user, makes the
+ <command>lxdm</command> bootscript to be executed, obtaining the
+ greeter screen:
</para>
<screen role="root"><userinput>init 5</userinput></screen>
<para>
- Runlevel 5 is necessary, by definition. However, BLFS default is
- runlevel 3. To permanently change the default to 5, thus obtaining
- the <command>lxdm</command> greeter screen automatically, you need to
- modify <filename>/etc/inittab</filename>, as <systemitem
- class="username">root</systemitem> user:
+ In order to permanently set the default to 5, obtaining the
+ <command>lxdm</command> greeter screen automatically, you can modify
+ <filename>/etc/inittab</filename>, as <systemitem
+ class="username">root</systemitem> user (the instructions below also
+ make a backup, so you can easily revert the modification):
</para>
-<screen role="root"><userinput>mov -vi /etc/inittab{,-orig} &&
+<screen role="root"><userinput>mv -vi /etc/inittab{,-orig} &&
sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
</sect3>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page