How do i set the $LANG variable without using export? I have set my locale.conf to LANG=en_US.UTF-8 but LANG is still always set to en_US which is not valid. I'd prefer not to use .bashrc or /etc/. Thanks in advance!
How do i set the $LANG variable without using export? I have set my locale.conf to LANG=en_US.UTF-8 but LANG is still always set to en_US which is not valid. I'd prefer not to use .bashrc or /etc/. Thanks in advance!
8 Comments
kbal@kbin.melroy.org · 8 pts · 2y
localectl set-locale LANG=en_US.UTF-8
potentiallynotfelix@iusearchlinux.fyi · 1 pts · 2y
I've solved it by running g
eselect locale set xwith x being the locale. Thanks for your contribution.potentiallynotfelix@iusearchlinux.fyi · 1 pts · 2y
potentiallynotfelix@iusearchlinux.fyi · -1 pts · 2y
Nevermind somehow it was set back
potentiallynotfelix@iusearchlinux.fyi · 1 pts · 2y
It is OK 👍
backhdlp@iusearchlinux.fyi · 5 pts · 2y
https://wiki.gentoo.org/wiki/Localization/Guide
potentiallynotfelix@iusearchlinux.fyi · 1 pts · 2y
This has solved it ultimately.
mvirts@lemmy.world · 4 pts · 2y
Why no export, bashrc, or /etc ?
potentiallynotfelix@iusearchlinux.fyi · 2 pts · 2y
If something else is setting it as en_US, then I don't want a conflict.