From 6ed0f650393d2b45bbfc36ff67cf08194481aeef Mon Sep 17 00:00:00 2001 From: fujiwara Date: Sat, 11 Feb 2017 16:35:12 +0900 Subject: [PATCH] Added imsettings and ibus-kkc which sets proper Japanese settings. modified: l10n/fedora-livecd-lxde-ja_JP.ks --- l10n/fedora-livecd-lxde-ja_JP.ks | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/l10n/fedora-livecd-lxde-ja_JP.ks b/l10n/fedora-livecd-lxde-ja_JP.ks index 1bd9524..caab884 100644 --- a/l10n/fedora-livecd-lxde-ja_JP.ks +++ b/l10n/fedora-livecd-lxde-ja_JP.ks @@ -19,9 +19,35 @@ timezone Asia/Tokyo -scim* -ibus* -iok +# Better more popular browser +firefox +# ibus stuff +ibus-kkc +imsettings %end %post +cat >> /etc/rc.d/init.d/livesys << EOF +#### setting env and start ibus-deamon #### +#mkdir /home/liveuser +cat >> /home/liveuser/.bash_profile << FOE +export XMODIFIERS="@im=ibus" +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +ibus-daemon -drx +FOE +#### autostart ibus and stuff #### +cat > /etc/xdg/autostart/imsettings-start.desktop << "FOE" +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Version=1.0 +Name=Input Method starter +Name[ja]=入力メソッドのスターター +Exec=imsettings-switch -n -q -x +Terminal=false +FOE +EOF 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. @@ -33,4 +59,3 @@ Section "InputClass" EndSection EOF %end -