From b73ebd60aabf1a9e6a59942a1f0cec9661a2db23 Mon Sep 17 00:00:00 2001 From: fujiwara Date: Jun 30 2018 01:12:12 +0000 Subject: Add japanese workstation ks file to l10n new file: l10n/fedora-live-workstation-ja_JP.ks --- diff --git a/l10n/fedora-live-workstation-ja_JP.ks b/l10n/fedora-live-workstation-ja_JP.ks new file mode 100644 index 0000000..580ab40 --- /dev/null +++ b/l10n/fedora-live-workstation-ja_JP.ks @@ -0,0 +1,40 @@ +# fedora-live-workstation-ja_JP.ks +# +# Description: +# - Japanese Fedora Live Spin with the Gnome Desktop Environment +# +# Maintainer(s): +# - Shintaro Fujiwara + +%include ../fedora-live-workstation.ks + +lang ja_JP.UTF-8 +keyboard jp +timezone Asia/Tokyo + +%packages +@japanese-support +# exclude input methods except ibus: +-m17n* +-scim* +-iok +# ibus stuff +ibus-kkc +imsettings +%end + +%post +cat > /etc/X11/xorg.conf.d/00-keyboard.conf << "EOF" +# Read and parsed by systemd-localed. It's probably wise not to edit this file +# manually too freely. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "jp" + Option "XkbModel" "jp106" +EndSection +EOF + +gsettings set org.gnome.desktop.input-sources sources "[('ibus', 'kkc'), ('xkb', 'jp')]" + +%end