From 32540ac7288c3a0d5ff1744512111eda47bbeab5 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Tue, 15 Feb 2022 22:24:43 +0000 Subject: [PATCH] Update install.sh --- install.sh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/install.sh b/install.sh index 8aae166..5a7bcda 100644 --- a/install.sh +++ b/install.sh @@ -278,6 +278,25 @@ echo "KEYMAP=de-latin1" > /mnt/etc/vconsole.conf && echo "Done." echo +# Set X locale and keyboard alyout. +echo "Setting locale and keyboard layout." +arch-chroot /mnt localectl --no-convert set-keymap de-latin1-nodeadkeys && + +cat << EOF > /mnt//etc/X11/xorg.conf.d/00-keyboard.conf && +# Written by systemd-localed(8), read by systemd-localed and Xorg. It's +# probably wise not to edit this file manually. Use localectl(1) to +# instruct systemd-localed to update it. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "de" + Option "XkbModel" "pc105" + Option "XkbVariant" "deadgraveacute" +EndSection +EOF +echo "Done." +echo + # Editing mkinitcpio.conf. echo "Editing /etc/mkinitcpio.conf." echo @@ -342,25 +361,6 @@ echo "default arch.conf" >> /mnt/boot/loader/loader.conf && echo "Done." echo -# Set X locale and keyboard alyout. -echo "Setting locale and keyboard layout." -arch-chroot /mnt localectl --no-convert set-keymap de-latin1-nodeadkeys && - -cat << EOF > /mnt//etc/X11/xorg.conf.d/00-keyboard.conf && -# Written by systemd-localed(8), read by systemd-localed and Xorg. It's -# probably wise not to edit this file manually. Use localectl(1) to -# instruct systemd-localed to update it. -Section "InputClass" - Identifier "system-keyboard" - MatchIsKeyboard "on" - Option "XkbLayout" "de" - Option "XkbModel" "pc105" - Option "XkbVariant" "deadgraveacute" -EndSection -EOF -echo "Done." -echo - # Set username, password and group. echo "Adding user." arch-chroot /mnt useradd -m $user &&