Changeset cf694de for lxde/apps/lxdm.xml


Ignore:
Timestamp:
09/03/2014 12:47:47 PM (10 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
ff7c7bf8
Parents:
f3979ba
Message:

LXDM-0.5.0 fixes: typo and some rewriting. Fix again localization, Thanks Armin K.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14183 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lxde/apps/lxdm.xml

    rf3979ba rcf694de  
    142142    </para>
    143143
    144 <screen role="root"><userinput>make install</userinput></screen>
     144<screen role="root"><userinput>make install &amp;&amp;
     145sed 's:/etc/sysconfig/i18n:/etc/profile.d/i18n.sh:g' \
     146    -i /usr/sbin/lxdm</userinput></screen>
    145147
    146148  </sect2>
     
    168170      <option>--with-systemdsystemunitdir=no</option>: BLFS does not support
    169171      systemd.
     172    </para>
     173
     174    <para>
     175      <command>sed ... -i /usr/sbin/lxdm</command>: Fix <command>lxdm</command>
     176      greeter to user locale.
    170177    </para>
    171178
     
    218225
    219226    <sect3>
    220       <title>Localization</title>
    221 
    222       <para>
    223         If you wish <command>lxdm</command> greeter in your native language,
    224         for non-English speakers, a fix is necessary, as <systemitem
     227      <title>Starting lxdm</title>
     228
     229      <para>
     230        You can manually start <command>lxdm</command>, e.g, if the bootscript
     231        has been installed, by running, as <systemitem
    225232        class="username">root</systemitem> user:
    226233      </para>
    227234
    228 <screen role="root"><userinput>sed -i '1a\\nexport <replaceable>&lt;your_LANG&gt;</replaceable>' /usr/sbin/lxdm</userinput></screen>
    229 
    230       <para>
    231        where the value to be used in
    232        <replaceable>&lt;your_LANG&gt;</replaceable> is the same you obtain with
    233        <command>echo $LANG</command> command.
    234       </para>
    235 
    236     </sect3>
    237 
    238     <sect3>
    239       <title>Starting lxdm</title>
    240 
    241       <para>
    242         You can manually start <command>lxdm</command>, e.g, if you install the
    243         bootscript, by running, as <systemitem
    244         class="username">root</systemitem> user:
    245       </para>
    246 
    247235<screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>
    248236
    249237      <para>
    250         Another option, change to runlevel 5, as <systemitem
    251         class="username">root</systemitem> user:
     238        By definition, X should be executed at runlevel 5, consequently, the
     239        same is true for <application>lxdm</application>. However, BLFS default
     240        runlevel is 3. Changing to runlevel 5, from the terminal, as
     241        <systemitem class="username">root</systemitem> user, makes the
     242        <command>lxdm</command> bootscript to be executed, obtaining the
     243        greeter screen:
    252244      </para>
    253245
     
    255247
    256248      <para>
    257           Runlevel 5 is necessary, by definition. However, BLFS default is
    258           runlevel 3. To permanently change the default to 5, thus obtaining
    259           the <command>lxdm</command> greeter screen automatically, you need to
    260           modify <filename>/etc/inittab</filename>, as <systemitem
    261           class="username">root</systemitem> user:
    262       </para>
    263 
    264 <screen role="root"><userinput>mov -vi /etc/inittab{,-orig} &amp;&amp;
     249          In order to permanently set the default to 5, obtaining the
     250          <command>lxdm</command> greeter screen automatically, you can modify
     251          <filename>/etc/inittab</filename>, as <systemitem
     252          class="username">root</systemitem> user (the instructions below also
     253          make a backup, so you can easily revert the modification):
     254      </para>
     255
     256<screen role="root"><userinput>mv -vi /etc/inittab{,-orig} &amp;&amp;
    265257sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
    266258
Note: See TracChangeset for help on using the changeset viewer.