-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfedora-livecd-xfce-ja_JP.ks
75 lines (70 loc) · 1.86 KB
/
fedora-livecd-xfce-ja_JP.ks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# fedora-livecd-xfce-ja_JP.ks
#
# Description:
# - Japanese Fedora Live Spin with the Xfce Desktop Environment
#
# Maintainer(s):
# - Shintaro Fujiwara <[email protected]>
%include fedora-live-xfce.ks
# lang ja_JP.UTF-8
keyboard jp
timezone Asia/Tokyo
%packages
langpacks-ja
fcitx5-mozc
fcitx5-qt
fcitx5-configtool
fcitx5-autostart
%end
%post
cat > /etc/lightdm/lightdm-qtquick-greeter.json << "EOF"
{
"background_path":"file://usr/share/backgrounds/serene/serene-wallpaper-1.png",
"theme":"qrc:/Login.qml"
}
EOF
sed -i "s/#greeter-session=example-gtk-gnome/greeter-session=lightdm-qtquick-greeter/g" /etc/lightdm/lightdm.conf
mkdir -p /etc/dconf/db/local.d/
cat > /etc/dconf/db/local.d/jp_serene << "EOF"
[desktop/ibus/general]
engines-order=['anthy', 'xkb:jp::jpn']
preload-engines=['anthy']
EOF
cat > /etc/dconf/db/local.d/serenelinux << "EOF"
[net/launchpad/plank/docks/dock1]
alignment='center'
auto-pinning=true
current-workspace-only=false
dock-items=['gimp.dockitem', 'firefox.dockitem', 'vlc.dockitem', 'xfce4-screenshooter.dockitem', 'thunar.dockitem', 'xfce4-terminal.dockitem']
hide-delay=50
hide-mode='intelligent'
icon-size=45
items-alignment='center'
lock-items=false
monitor=''
offset=0
pinned-only=false
position='bottom'
pressure-reveal=false
show-dock-item=false
theme='Arc'
tooltips-enabled=true
unhide-delay=0
zoom-enabled=false
zoom-percent=150
EOF
dconf update
cp -rf /usr/share/serenekun/etc /
ln -s /usr/share/backgrounds/default.jpg /usr/share/backgrounds/images/default.png
sed -i "s/en_US/ja_JP/g" /etc/locale.conf
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