Set x11 keymap during setup

This commit is contained in:
Manuel Thalmann 2023-04-03 23:52:20 +02:00
parent 4816963041
commit b8b9d75358

View file

@ -7,6 +7,7 @@ ARCH_HOSTNAME="${ARCH_HOSTNAME}";
ARCH_MOUNT_ROOT="${ARCH_MOUNT_ROOT:-"/mnt"}"; ARCH_MOUNT_ROOT="${ARCH_MOUNT_ROOT:-"/mnt"}";
ARCH_LANG="${ARCH_LANG:-"en_US.UTF-8"}"; ARCH_LANG="${ARCH_LANG:-"en_US.UTF-8"}";
ARCH_KEYMAP="${ARCH_KEYMAP:-"de_CH-latin1"}"; ARCH_KEYMAP="${ARCH_KEYMAP:-"de_CH-latin1"}";
ARCH_X11_KEYMAP="${ARCH_X11_KEYMAP:-"ch"}";
LOCALE_PATTERN="${LOCALE_PATTERN:-"\(de_CH\|en_US\)"}"; LOCALE_PATTERN="${LOCALE_PATTERN:-"\(de_CH\|en_US\)"}";
USER_NAME="${USER_NAME:-manuel}"; USER_NAME="${USER_NAME:-manuel}";
@ -42,6 +43,7 @@ arch-chroot "$ARCH_MOUNT_ROOT" mkinitcpio -P;
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GRUB/install.sh";
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/sudo/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/sudo/install.sh";
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GNOME/install.sh"; arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/../Software/GNOME/install.sh";
arch-chroot localectl set-x11-keymap "$ARCH_X11_KEYMAP";
USER_NAME="${USER_NAME}" \ USER_NAME="${USER_NAME}" \