2017-01-31 11:50:59 +00:00
|
|
|
# fedora-livecd-lxde-ja_JP.ks
|
|
|
|
#
|
|
|
|
# Description:
|
|
|
|
# - Japanese Fedora Live Spin with the LXDE Desktop Environment
|
|
|
|
#
|
|
|
|
# Maintainer(s):
|
|
|
|
# - Shintaro Fujiwara <shintaro.fujiwara@miraclelinux.com>
|
|
|
|
|
|
|
|
%include ../fedora-live-lxde.ks
|
|
|
|
|
|
|
|
lang ja_JP.UTF-8
|
|
|
|
keyboard jp
|
|
|
|
timezone Asia/Tokyo
|
|
|
|
|
|
|
|
%packages
|
2019-02-14 11:24:49 +00:00
|
|
|
langpacks-ja
|
2018-05-13 09:38:45 +00:00
|
|
|
# exclude input methods except ibus:
|
2017-01-31 11:50:59 +00:00
|
|
|
-m17n*
|
|
|
|
-scim*
|
|
|
|
-iok
|
2017-02-11 07:35:12 +00:00
|
|
|
# Better more popular browser
|
|
|
|
firefox
|
|
|
|
# ibus stuff
|
|
|
|
ibus-kkc
|
|
|
|
imsettings
|
2017-01-31 11:50:59 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
2022-11-29 06:30:25 +00:00
|
|
|
cat >> /var/lib/livesys/livesys-session-extra << EOF
|
2017-02-11 07:35:12 +00:00
|
|
|
#### 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
|
2017-01-31 11:50:59 +00:00
|
|
|
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
|
|
|
|
%end
|