[l10n fr kde] system-config-keyboard.fc18 doesn't work

This commit is contained in:
Matthieu Saulnier 2012-12-21 16:08:00 +01:00
parent 8d5508e556
commit 92f886a06e

View File

@ -22,13 +22,12 @@ timezone Europe/Paris
%end %end
%post %post
# system-config-keyboard doesn't really work (missing xorg.conf etc) # set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and
cat >>/etc/X11/xorg.conf << EOF # KDE don't use /etc/sysconfig/keyboard.
Section "InputDevice" # Replace "fr-latin9" with the keyboard layout you have used above
Identifier "Keyboard0" mkdir -p /home/liveuser/.kde/env
Driver "kbd" echo "system-config-keyboard --noui fr-latin9" > /home/liveuser/.kde/env/keyboard.sh
Option "XkbLayout" "fr-latin9" chmod +x /home/liveuser/.kde/env/keyboard.sh
EndSection chown -R liveuser:liveuser /home/liveuser/.kde/env/
EOF
%end %end