Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 10:35:58 +0900
From:      Daichi GOTO <daichi@freebsd.org>
To:        Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Suggest: gdm_lang flag for gdm startup language
Message-ID:  <49E539FE.7050303@freebsd.org>
In-Reply-To: <gs21c6$gps$1@ger.gmane.org>
References:  <49E3FC71.7090904@ongs.co.jp>	<1239681274.1304.93.camel@shumai.marcuscom.com>	<49E41E27.6090808@ongs.co.jp> <gs21c6$gps$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
After adding procfs entry to fstab, gdm has got to
started reading user home's .dmrc file, e.g., like
follow:

----
[Desktop]
Language=ja_JP.UTF-8
Layout=us
----

So I have no big annoying matter to check out
Language every login time or adding default
Language configuration to system config files.

Thanks :)

p.s.
But if you have interested in to add
gdm_lang="ja_JP.UTF-8" to /etc/rc.conf, I guess
it's still good idea because gdm changes their
face to use that language.

I want to know opinions of other gnome folks.
How about of this idea? > eveyone
If no objections, I want to add change to RCng
startup script.

Marcin Wisnicki wrote:
> On Tue, 14 Apr 2009 14:24:55 +0900, Daichi GOTO wrote:
> 
>> Yes, I know /etc/profile method, and I do not recognize that is good
>> idea for this issue. In fact, that is very bad idea I guess. We should
>> prevent /etc/profile method ASAP.
>>
>> Reasons:
>>
>>    1. /etc/profile affects others than gdm. FreeBSD console
>>       does not support non-English displaying. And some applications
>>       cannot been built without LANG=C. So, to set LANG=??? (e.g.
>>       ja-JP.UTF-8) on /etc/profile is very bad idea. The /etc/profile
>>       method affects to many phenomena.
>>
> 
> Some systems have /etc/xprofile for X. It even worked on FreeBSD before 
> gnome-2.12.
> 
>>    2. I suggest controlling application behavior installed
>>       by Ports Collection in /etc/rc.conf is clear and simple way.
>>       Should we (especially for non-English user) edit /etc/rc.conf and
>>       /etc/profile every time updated relative components?  It is
>>       bothering matter.
>>
> 
> Gdm startup script in $prefix/sbin/gdm sources /etc/sysconfig/language 
> which seems to be the Linux way.
> 
>   desktop# cat /etc/sysconfig/language
>   echo pl_PL.UTF-8
> 
> Though having it configurable from rc.conf makes sense to me.
> 
>> I'm thinking adding gdm_lang="ja_JP.UTF-8" to /etc/rc.conf is very clear
>> and easy understanding for common user of Gnome. How do you make of it??
>>
> 
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"

-- 
   Daichi GOTO, http://people.freebsd.org/~daichi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E539FE.7050303>