Artix Linux Forum

Init systems => dinit => Topic started by: thibdb13 on 21 January 2023, 10:58:15

Title: Display Managers
Post by: thibdb13 on 21 January 2023, 10:58:15
As I have plaid with Artix -dinit for a month, I noticed that if you want to use another language than english in the display manager (I tested LightDM and SDDM), you have to put the wished locale in /etc/environment. It seems that neither SDDM nor LightDM read /etc/locale.conf to choose the displayed locale.
Is it typical for dinit or does the same problem occur under the other init-systems.
In other (systemd) distributions such as fedora, archlinux or opensuse, you just have to configure the /etc/locale.conf file.
Title: Re: Display Managers
Post by: jspaces on 21 January 2023, 18:12:05
A possible solution for changing sddm's language on a non-systemd system:
SDDM : Wrong language at login (https://www.linuxquestions.org/questions/slackware-arm-108/sddm-wrong-language-at-login-4175694295/)
Quote
04-28-2021, 05:45 AM      #3
Desiderius

Looking at "/etc/default/sddm", I have seen that it is only a call to "/etc/profile.d/lang.sh".
This script sets the language for all applications using it.
So I put:
Code: [Select]
 export LANG=fr_FR.UTF-8
in this file
and reboot ( with the option to have SDDM )
When SDDM appears it is now entirely in French !