Currently, if you ssh into an aerynOS machine, you'll be missing locale variables:
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
It seems that other distros deal with this with a profile.d script, for example in Fedora and Debian, /etc/profile.d/lang.sh, or in Arch, a smaller one:
#!/bin/sh
# load locale.conf in XDG paths.
# /etc/locale.conf loads and overrides by kernel command line is done by systemd
# But we override it here, see FS#56688
if [ -z "$LANG" ]; then
if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
. "$XDG_CONFIG_HOME/locale.conf"
elif [ -n "$HOME" ] && [ -r "$HOME/.config/locale.conf" ]; then
. "$HOME/.config/locale.conf"
elif [ -r /etc/locale.conf ]; then
. /etc/locale.conf
fi
fi
# define default LANG to C.UTF-8 if not already defined
LANG=${LANG:-C.UTF-8}
# export all locale (7) variables when they exist
export 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
I guess something like this needs to be added to aerynOS to make locale work.
Note that fish seems to fetch locale on its own if absent, so running fish makes these variables show up.
Currently, if you ssh into an aerynOS machine, you'll be missing locale variables:
It seems that other distros deal with this with a profile.d script, for example in Fedora and Debian,
/etc/profile.d/lang.sh, or in Arch, a smaller one:I guess something like this needs to be added to aerynOS to make locale work.
Note that fish seems to fetch locale on its own if absent, so running fish makes these variables show up.