Remove obsolete xorg keyboard conf

This commit is contained in:
2026-07-01 16:57:03 +02:00
parent e8aa72467c
commit 5b104376c3
+15 -14
View File
@@ -356,20 +356,21 @@ echo "Setting locale and keyboard layout."
#arch-chroot /mnt localectl --no-convert set-keymap de-latin1-nodeadkeys #arch-chroot /mnt localectl --no-convert set-keymap de-latin1-nodeadkeys
systemd-firstboot --root=/mnt --keymap=de-latin1-nodeadkeys systemd-firstboot --root=/mnt --keymap=de-latin1-nodeadkeys
cat << EOF > "/mnt/etc/X11/xorg.conf.d/00-keyboard.conf" ## Obsolete for Wayland
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's # cat << EOF > "/mnt/etc/X11/xorg.conf.d/00-keyboard.conf"
# probably wise not to edit this file manually. Use localectl(1) to # # Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# instruct systemd-localed to update it. # # probably wise not to edit this file manually. Use localectl(1) to
Section "InputClass" # # instruct systemd-localed to update it.
Identifier "system-keyboard" # Section "InputClass"
MatchIsKeyboard "on" # Identifier "system-keyboard"
Option "XkbLayout" "de" # MatchIsKeyboard "on"
Option "XkbModel" "pc105" # Option "XkbLayout" "de"
Option "XkbVariant" "deadgraveacute" # Option "XkbModel" "pc105"
EndSection # Option "XkbVariant" "deadgraveacute"
EOF # EndSection
echo "Done." # EOF
echo # echo "Done."
# echo
# Editing mkinitcpio.conf. # Editing mkinitcpio.conf.
echo "Editing /etc/mkinitcpio.conf.." echo "Editing /etc/mkinitcpio.conf.."