mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
unset LANG
This commit is contained in:
parent
7c1ac75af0
commit
0a214bbbca
4 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
. /etc/archboot/defaults
|
. /etc/archboot/defaults
|
||||||
LANG="C"
|
|
||||||
_BASENAME="$(basename "${0}")"
|
_BASENAME="$(basename "${0}")"
|
||||||
_RUNNING_ARCH="$(uname -m)"
|
_RUNNING_ARCH="$(uname -m)"
|
||||||
_KEYRING="archlinux-keyring"
|
_KEYRING="archlinux-keyring"
|
||||||
|
|
|
@ -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 "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 -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
|
chmod 755 /usr/bin/gnome-wayland
|
||||||
gnome-wayland
|
gnome-wayland
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,6 @@ _start_gnome() {
|
||||||
echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc
|
echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc
|
||||||
#shellcheck disable=SC2129
|
#shellcheck disable=SC2129
|
||||||
echo "export GDK_BACKEND=x11" >> /root/.xinitrc
|
echo "export GDK_BACKEND=x11" >> /root/.xinitrc
|
||||||
echo "export LANG=C.UTF-8" >> /root/.xinitrc
|
|
||||||
echo "exec dbus-launch gnome-session" >> /root/.xinitrc
|
echo "exec dbus-launch gnome-session" >> /root/.xinitrc
|
||||||
startx >/dev/tty8 2>&1
|
startx >/dev/tty8 2>&1
|
||||||
echo -e "To relaunch \e[1mGNOME\e[m desktop use: \e[92mstartx\e[m"
|
echo -e "To relaunch \e[1mGNOME\e[m desktop use: \e[92mstartx\e[m"
|
||||||
|
|
|
@ -69,6 +69,7 @@ build ()
|
||||||
add_full_dir /usr/share/i18n/locales
|
add_full_dir /usr/share/i18n/locales
|
||||||
add_file /usr/share/i18n/charmaps/UTF-8.gz
|
add_file /usr/share/i18n/charmaps/UTF-8.gz
|
||||||
add_file /usr/share/locale/locale.alias
|
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*' \
|
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 'gettext*' -o -name 'gas*' -o -name 'gold*' -o -name 'gprof*' -o -name 'ld*' \
|
||||||
-o -name 'opcodes*' \) -delete
|
-o -name 'opcodes*' \) -delete
|
||||||
|
|
Loading…
Reference in a new issue