summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-11 16:08:28 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-11 16:08:28 +0100
commit35b00d95c1c1f32508b968b38e809e4daaf512ab (patch)
tree52de48a2d07c2cbfadcf9a034b9af8576823a7d7 /bin
parentb279b6fc5627b8eb16e512a4b10977e1d87bc486 (diff)
downloadarchinstall-35b00d95c1c1f32508b968b38e809e4daaf512ab.tar
archinstall-35b00d95c1c1f32508b968b38e809e4daaf512ab.tar.zst
archinstall-35b00d95c1c1f32508b968b38e809e4daaf512ab.zip
Desktop localization without localectl (which is not working in chroot).
Diffstat (limited to 'bin')
-rw-r--r--bin/configure_desktop.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/bin/configure_desktop.sh b/bin/configure_desktop.sh
index 638b726..301ebc6 100644
--- a/bin/configure_desktop.sh
+++ b/bin/configure_desktop.sh
@@ -24,5 +24,16 @@
systemctl enable lightdm
-touch /etc/X11/xorg.conf.d/00-keyboard.conf
-localectl --no-convert set-x11-keymap de pc105 nodeadkeys
+
+cat > /etc/X11/xorg.conf.d/00-keyboard.conf << EOL
+# 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" "nodeadkeys"
+EndSection
+EOF