From 92f886a06e57f3f777a3db5ab4cf5a9a9a807a86 Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Fri, 21 Dec 2012 16:08:00 +0100 Subject: [PATCH] [l10n fr kde] system-config-keyboard.fc18 doesn't work --- l10n/fedora-livecd-kde-fr_FR.ks | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/l10n/fedora-livecd-kde-fr_FR.ks b/l10n/fedora-livecd-kde-fr_FR.ks index 0742be5..e968696 100644 --- a/l10n/fedora-livecd-kde-fr_FR.ks +++ b/l10n/fedora-livecd-kde-fr_FR.ks @@ -22,13 +22,12 @@ timezone Europe/Paris %end %post -# system-config-keyboard doesn't really work (missing xorg.conf etc) -cat >>/etc/X11/xorg.conf << EOF -Section "InputDevice" - Identifier "Keyboard0" - Driver "kbd" - Option "XkbLayout" "fr-latin9" -EndSection -EOF +# set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and +# KDE don't use /etc/sysconfig/keyboard. +# Replace "fr-latin9" with the keyboard layout you have used above +mkdir -p /home/liveuser/.kde/env +echo "system-config-keyboard --noui fr-latin9" > /home/liveuser/.kde/env/keyboard.sh +chmod +x /home/liveuser/.kde/env/keyboard.sh +chown -R liveuser:liveuser /home/liveuser/.kde/env/ %end