This is an old problem I faced, when used LXDM (stopped with 0.4.1, I
think). Today, I don't normally use a DM.
Problem: LXDM always start as if LANG=C.
I change in the corresponding place in the screen, after reboot, C again.
In the past I solved it, by modifying the start section of the boot
script like this:
start)
env LANG=pt_BR.utf8 /usr/sbin/lxdm -d
;;
It is not a good general solution, worse yet for the book.
Now, I found another solution:
sed -i '1a\\nexport LANG=pt_BR.UTF-8' /usr/sbin/lxdm
because this is a script calling the true program, lxdm-binary.
If someone (Christopher?) has a better solution, I would much appreciate
to learn, please.
If not, I think I need to introduce one
<para> (as optional), with an explanation</para>
and then
<screen>><userinput>sed -i '1a\\nexport <your_LANG>'
/usr/sbin/lxdm</userinput></screen>
Any help would be much appreciated.
Thanks.
--
[]s,
Fernando
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page