Change locale globally (f20)?

Tom H tomh0665 at gmail.com
Thu Dec 26 03:46:51 UTC 2013


On Wed, Dec 25, 2013 at 11:51 PM, Michael Hannon
<jmhannon.ucdavis at gmail.com> wrote:
>
> Greetings.  I evidently did not pay enough attention when I recently
> installed Fedora 20 on my desktop system, as my system appears to be set for
> the GB locale.  E.g.,
>
> $ env | grep LANG
> LANG=en_GB.utf8
> GDM_LANG=en_GB.utf8
>
> Likewise, the following:
>
> $ cd /etc
> $ find . -type f -exec grep "GB" {} /dev/null \;
>
> gets a gazillion hits.
>
> This leads to some undesirable behaviour/behavior.  My spell checker
> (hunspell) was using British spellings, for instance.
>
> I've mitigated the problem by adding:
>
> LANG="en_US.utf8"
> export LANG
>
> to my .bash_profile, but I wonder if there's some way to change the setting
> globally, i.e., from GB... to US...   Any thoughts?  Thanks.

localectl set-locale LANG=en_US.UTF-8


More information about the users mailing list