Hello, welcome to the forums!
I tested and running dpkg-reconfigure locales with /etc/locale.conf enabled does not modify the content of /etc/default/locale
Note that this solution does not work for the console, and also:
Could you please edit the title of your first post to make it clearer, for example:
Thanks
It's normal. You edited /usr/share/i18n/locales/en_US which belongs to a Debian package (namely the locales package). When this package is upgraded or reinstalled, your manual changes are lost.adding first_weekday to the locale worked . . . until the 12.5 update a few days ago and now it's gone again. So I'm back to trying to find something permanent
Works for me, just requires a reboot. However, I'm using XFCE4, not GNOME, so that might make a difference.I tried adding /etc/locale.conf as suggested by Fedora and it didn't do anything
DESCRIPTION
The /etc/locale.conf file configures system-wide locale settings. It is read at early boot by systemd(1).
[...]
The locale settings configured in /etc/locale.conf are system-wide and are inherited by every service or user, unless overridden or unset by individual programs or users.
[...]
OPTIONS
The following locale settings may be set using /etc/locale.conf: LANG=, LANGUAGE=, LC_CTYPE=, LC_NUMERIC=, LC_TIME=, LC_COLLATE=, LC_MONETARY=, LC_MESSAGES=, LC_PAPER=, LC_NAME=,
LC_ADDRESS=, LC_TELEPHONE=, LC_MEASUREMENT=, LC_IDENTIFICATION=.
Code:
$> cat /etc/default/locale # File generated by update-localeLANG="fr_FR.UTF-8"$> cat /etc/locale.conf LC_TIME="en_US.utf8"$> dateThu Feb 15 12:55:33 PM CET 2024$> localeLANG=fr_FR.UTF-8LANGUAGE=LC_CTYPE="fr_FR.UTF-8"LC_NUMERIC="fr_FR.UTF-8"LC_TIME=en_US.utf8LC_COLLATE="fr_FR.UTF-8"LC_MONETARY="fr_FR.UTF-8"LC_MESSAGES="fr_FR.UTF-8"LC_PAPER="fr_FR.UTF-8"LC_NAME="fr_FR.UTF-8"LC_ADDRESS="fr_FR.UTF-8"LC_TELEPHONE="fr_FR.UTF-8"LC_MEASUREMENT="fr_FR.UTF-8"LC_IDENTIFICATION="fr_FR.UTF-8"LC_ALL=$> locale -aCC.utf8en_US.utf8fr_FR.utf8POSIX
Note that this solution does not work for the console, and also:
Code:
$> dateThu Feb 15 12:56:45 AM CET 2024$> su - thetestMot de passe :$> datejeu. 15 févr. 2024 12:57:53 CET$> logout$> su -Mot de passe :#> datejeu. 15 févr. 2024 12:58:36 CET
This is the Debian way and it should work. You must activate the en_GB.UTF-8 locale. See Monday as first day of week [SOLVED]I also tried the same thing to /etc/default/locale as suggested on some DDG's which also didn't work.
Could you please edit the title of your first post to make it clearer, for example:
Don't forget to add [SOLVED] at the start of your title when this is the case.How to make weeks start on Monday in GNOME when LANG=en_US.utf8
Thanks
Statistics: Posted by fabien — 2024-02-15 12:56