We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0616e14 commit cb5b936Copy full SHA for cb5b936
profile.d/40-DE
@@ -1,6 +1,8 @@
1
# Set locale for legacy desktop environments that do not respect localectl.
2
-
3
-export LANG=$(cat /etc/locale.conf) LC_ALL=$(cat /etc/locale.conf)
+# TODO: export and fallback all the stuffs as defined in locale.conf(7).
+. /etc/locale.conf
4
+: ${LC_ALL=${LANG=C}}
5
+export LANG LC_ALL
6
if test -z "${XDG_RUNTIME_DIR}"; then
7
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
8
if ! test -d "${XDG_RUNTIME_DIR}"; then
0 commit comments