[OpenIndiana-discuss] How to configure user's locale - is this broken?
Tim Mooney
Tim.Mooney at ndsu.edu
Mon Aug 25 22:26:40 UTC 2025
In regard to: [OpenIndiana-discuss] How to configure user's locale - is...:
> Adding the overriding LC_ALL to `/etc/default/init` triggered a locale
> change for my local user. The first time I set it the desktop session
> language changed persistently, such that after removing LC_ALL it
> remained on this language and reverted back to it after setting LC_ALL
> to a different language and then unsetting it.
Interesting.
Is it getting persisted anywhere under
/var/lib/lightdm-data
?
> It should be possible to configure the locale on a per user basis.
Agreed.
>MATE
> can use a GUI tool called "gnome-language-selector" for this, but it
> doesn't seem to be packaged on OI. It also seems it should be
> configurable using `.config/locale.conf`, which didn't work for me.
>
> I switched between various languages to test this and from what I can
> tell, profile language is persisted somewhere in MATE/lightdm config,
> but not in a local file - if I connect via ssh I get the default LANG,
> not what is used for the desktop session.
That doesn't surprise me, and I think is "correct", but there should
be one way to set it, per-user, that both would reference and obey.
> The problem is that I cannot find a way to change the desktop session
> language (other than overriding using LC_ALL at the whole system
> level). Using `.config/locale.conf` should work but doesn't. This
> desktop specific LANG is being set somewhere outside of the user's
> home.
Does either
gsettings list-recursively | egrep -i locale
or
dconf dump / | egrep -i locale
turn up anything that looks promising for setting the locale?
> In addition, there ought to be a GUI/simple way for users to set this.
Agreed.
Tim
--
Tim Mooney Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology / 701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164
More information about the openindiana-discuss
mailing list