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!
You must log in or # to comment.
localectl set-locale LANG=en_US.UTF-8
I’ve solved it by running g
eselect locale set xwith x being the locale. Thanks for your contribution.deleted by creator
Nevermind somehow it was set back
It is OK 👍
This has solved it ultimately.
Why no export, bashrc, or /etc ?
If something else is setting it as en_US, then I don’t want a conflict.




