[OpenIndiana-discuss] How to configure user's locale - is this broken?
James Madgwick
james at madgwick.xyz
Tue Aug 26 11:21:22 UTC 2025
On Mon, 25 Aug 2025 17:26:40 -0500 (CDT)
Tim Mooney via openindiana-discuss
<openindiana-discuss at openindiana.org> wrote:
> Is it getting persisted anywhere under
>
> /var/lib/lightdm-data
No. There's a folder for my user but it is empty.
> Does either
>
> gsettings list-recursively | egrep -i locale
>
> or
>
> dconf dump / | egrep -i locale
>
> turn up anything that looks promising for setting the locale?
After further searching, I found
`/var/cache/lightdm/dmrc/{myuser}.dmrc`. This contained the persisted
LANG configuration value. Removing this file and rebooting (restarting
lightdm) caused my local user's LANG to revert to the system default.
> > In addition, there ought to be a GUI/simple way for users to set
> > this.
>
> Agreed.
It should be possible to add a language selection option to the
greeter. This may have been the only GUI way to configure this in
Solaris [https://docs.oracle.com/cd/E23824_01/html/E26033/glmgv.html].
This dropdown is not enabled by default and OI uses the defaults for
lighdm greeter. Unfortunately, once enabled this feature doesn't work.
The busctrl utility for dbus is also supposed to be able to set
language, but this is not available in OI, and it's not clear to me if
it can be used at all without systemd.
I have at least found how to configure locale via config - I'll create
a documentation PR for this and potentially a bug ticket to investigate
how this might be done using a user friendly GUI.
More information about the openindiana-discuss
mailing list