Hi Gary,

Do you mean when you select "System Default" in gdm locale selection,
you will login in C locale instead of en_CA.ISO8859-1?
Could you confirm /etc/default/init includes the following?

LC_COLLATE=en_CA.ISO8859-1
LC_CTYPE=en_CA.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_CA.ISO8859-1
LC_NUMERIC=en_CA.ISO8859-1
LC_TIME=en_CA.ISO8859-1

If /etc/default/init doesn't have LC_* nor LANG variable,
your system default locale is C. (If you modify the file,
reboot is required).

gdm has been showing only UTF-8 locales. To add non-UTF-8 locale,
you need add the locale manually in /etc/X11/gdm/locale.alias
and restart gdm.

      :
   English(Australia)      en_AU.UTF-8,en_AU
   English(Canada)         en_CA.UTF-8,en_CA
+ English(Canada)         en_CA.ISO8859-1,en_CA
   English(Ireland)        en_IE.UTF-8,en_IE
      :

Thanks,
Fuyuki

Gary Mills wrote:
>> Gary Mills-san wrote (10/ 8/08 01:14 PM):
>>> So, the change is in the behavior of the gdm login
>> manager.  In build 98, when I
>>> logged in with gdm, it retained the system default
>> locale.  After a Live Upgrade to
>>> build 99, it gave me the `C' locale instead, and
>> warned me that I had logged in with
>>
>> What do you mean in "GDM warned me ..."
> 
> It displayed a dialogue box that offered to rename some of my directories.
> I declined.
> 
>>> a different language.  When I tried to set my
>> locale from the gdm languages menu,
>>> it only showed me the UTF-8 locales.  Something has
>> changed in gdm, it appears.
>>
>> GDM checks locales and fonts.
>>    - Update /etc/X11/gdm/locale.alias.
>> Does your current locale.alias include
>>  en_CA.ISO8859-1 at present?
> 
> No, but it didn't include ISO locales for build 98 either.
> 
>>    - Install locales, maybe localeadm helps you.
> 
> Since it all works when I revert to CDE, I assume that the locales are 
> installed.
> They certainly were present after my initial install.  By reverting to CDE, 
> the Gnome
> session is the same: only the login manager has changed.  (I never used the 
> CDE
> desktop, just the CDE login manager dtlogin).
> 
>> If FcFontList() is failed in your env on
>> en_CA.ISO8859-1, en_CA.ISO8859-1 cannot be
>>  displayed.
>> My guess is your problem could be either of:
>>   - locale.alias is not correct.
>> - setlocale(LC_CTYPE, en_CA.ISO8859-1) is failed.
> 
> I'm wondering if gdm no longer recognizes the Solaris-style locale names.  I 
> had a
> similar problem with alpine, which only recognized the Linux-style locale 
> names
> (the ones with a dash after `ISO').  gdm seems to believe that the system 
> default
> locale is `C', when it's actually en_CA.ISO8859-1.
> --
> This message posted from opensolaris.org
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org


Reply via email to