commit b162a2492ba89481bb489adc24c8e01ff086fc14
Author: Matthieu Saulnier <fantom(a)fedoraproject.org>
Date: Fri Dec 21 16:12:31 2012 +0100
[l10n fr kde] system-config-keyboard.fc18 doesn't work
l10n/fedora-livecd-kde-fr_FR.ks | 15 +++++++--------
1 files 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