From 35b00d95c1c1f32508b968b38e809e4daaf512ab Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 11 Dec 2019 16:08:28 +0100 Subject: Desktop localization without localectl (which is not working in chroot). --- bin/configure_desktop.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2