5 # Email : hayao@fascode.net
7 # (c) 2019-2021 Fascode Network.
10 # Enable gdm to auto login
11 if [[ "${boot_splash}" = true ]]; then
12 _safe_systemctl enable gdm-plymouth.service
15 _safe_systemctl enable gdm.service
19 # Replace auto login user
20 sed -i "s/%USERNAME%/${username}/g" "/etc/gdm/custom.conf"
23 # Remove file for japanese input
24 if [[ ! "${language}" = "ja" ]]; then
25 sed -i "s/export GTK_IM_MODULE=fcitx/#export GTK_IM_MODULE=fcitx/g" "/etc/environment"
26 sed -i "s/export QT_IM_MODULE=fcitx/#export QT_IM_MODULE=fcitx/g" "/etc/environment"
27 sed -i "s/export XMODIFIERS=@im=fcitx/#export XMODIFIERS=@im=fcitx/g" "/etc/environment"