unset LANG

This commit is contained in:
Tobias Powalowski 2023-03-01 17:29:31 +01:00
parent 7c1ac75af0
commit 0a214bbbca
4 changed files with 2 additions and 3 deletions

View file

@ -2,7 +2,6 @@
# SPDX-License-Identifier: GPL-2.0-only
# created by Tobias Powalowski <tpowa@archlinux.org>
. /etc/archboot/defaults
LANG="C"
_BASENAME="$(basename "${0}")"
_RUNNING_ARCH="$(uname -m)"
_KEYRING="archlinux-keyring"

View file

@ -10,7 +10,7 @@ _start_gnome_wayland() {
echo -e "Launching \e[1mGNOME Wayland\e[m now, logging is done on \e[1m/dev/tty7\e[m..."
echo -e "To relaunch \e[1mGNOME Wayland\e[m use: \e[92mgnome-wayland\e[m"
echo "LANG=C.UTF-8 MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session >/dev/tty7 2>&1" > /usr/bin/gnome-wayland
echo "MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session >/dev/tty7 2>&1" > /usr/bin/gnome-wayland
chmod 755 /usr/bin/gnome-wayland
gnome-wayland
}

View file

@ -11,7 +11,6 @@ _start_gnome() {
echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc
#shellcheck disable=SC2129
echo "export GDK_BACKEND=x11" >> /root/.xinitrc
echo "export LANG=C.UTF-8" >> /root/.xinitrc
echo "exec dbus-launch gnome-session" >> /root/.xinitrc
startx >/dev/tty8 2>&1
echo -e "To relaunch \e[1mGNOME\e[m desktop use: \e[92mstartx\e[m"

View file

@ -69,6 +69,7 @@ build ()
add_full_dir /usr/share/i18n/locales
add_file /usr/share/i18n/charmaps/UTF-8.gz
add_file /usr/share/locale/locale.alias
# remove locales from not installed packages: binutils, grub and gdbm
find $BUILDROOT/usr/share/locale/ -type f \( -name 'grub*' -o -name 'binutils*' -o -name 'gdbm*' -o -name 'bfd*' \
-o -name 'gettext*' -o -name 'gas*' -o -name 'gold*' -o -name 'gprof*' -o -name 'ld*' \
-o -name 'opcodes*' \) -delete