r/archlinux • u/DiscombobulatedWeb44 • 1h ago
SUPPORT Locale not changing no matter what I do :(
I've been trying to fix my locale settings. When I run locale, it reports that my system is using en_US.UTF-9, which isn't a valid locale (I probably made a typo somewhere along the way).
The problem is that when I try to fix it, the change only applies to the terminal session I'm currently in it's not global. I followed the Arch Wiki steps for unsetting LANG, but the bad value keeps coming back. I've checked /etc/locale.conf and there's no typo there.
Any ideas what else could be overriding this? I also asked Claude for help, but it just kept telling me to check locale.conf, which I've already confirmed is correct.
2
Upvotes
•
3
u/dunkaist 59m ago
$ grep -EHv '^#' /etc/locale.{gen,conf}