Re: ldm and l10n display

Wolfgang Schweer <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
On Mo, 14 Apr 2008, Warren Togami wrote:

> I have never heard of locale-gen, and we don't play games like this ever 
> in Fedora.

Hi Warren,

in Debian locale-gen belongs to the package locales (in Ubuntu as well).
That's a space saver compared to a package installing all available locales.
(You only generate actually needed locales.)

Upon generation /etc/default/locale has apropriate settings for LANG 
(default locale) and LANGUAGE (available languages).

Seems to be, that Fedora gets this set in /etc/sysconfig/i18n.
So in your case the first step is already done in the chroot; you don't have
to execute locale-gen.

Second step: let ldm get the settings for LANG and LANGUAGE, maybe like this
in ldm's start script

if [ -r /etc/sysconfig/i18n ]; then
  . /etc/sysconfig/i18n
  export LANG LANGUAGE
fi

wolfgang

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIA31znlCf5+ELaesRAkmxAKCU65PW2uH098uBX8aJTlGSEnAcSQCggCMW
hDGfvSgLWeY6EPVY6orVzW4=
=I8V7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.