[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: default language setting on a fresh system



On Wed, May 23, 2001 at 11:45:57PM +0200, Marcin Owsiany wrote:
> On Tue, May 15, 2001 at 10:41:03AM -0400, Adam Di Carlo wrote:
> > 
> > > Well the form I want it in is the correct form. "ll" is not a valid
> > > language code setting, "ll_LL" is.
> > 
> > Ok -- are you saying dbootstrap *must* set it in the xx_YY form?
> > 
> > > But I had been thinking that the
> > > boot-floppies were possibly setting this in /etc/environment
> > 
> > No we do not.  Taking language selection and forcing that to be global
> > would in fact be incorrect behavior, according to i18n experts.
> > 
> > If anything, it could be set in /etc/skel/.bashrc or something.
> 
> The problem is that for bash by default,
> 
>  login shells source _only_			.bash_profile, and
>  interactive _non-login_ shells source _only_	.bashrc
> 
> So there's no easy way to set LANG for both console and {x,g}dm
> logins.

What keeps you from sourcing .bashrc from .bash_profile ? That's what I use
here :


$grep bashrc ~/.bash_profile
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
    source ~/.bashrc
$

-- 
Eric VAN BUGGENHAUT

Eric.VanBuggenhaut@AdValvas.be



Reply to: