forked from dataprolet/Arch-Linux-Installer
Remove obsolete xorg keyboard conf
This commit is contained in:
+15
-14
@@ -356,20 +356,21 @@ echo "Setting locale and keyboard layout."
|
||||
#arch-chroot /mnt localectl --no-convert set-keymap de-latin1-nodeadkeys
|
||||
systemd-firstboot --root=/mnt --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
|
||||
## Obsolete for Wayland
|
||||
# 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.."
|
||||
|
||||
Reference in New Issue
Block a user