Skip to content

Commit 543b690

Browse files
committed
contrib: launch fcitx5 with LANG=zh_CN.UTF-8
1 parent 56c15a4 commit 543b690

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/aosc-os-oobe-gui-launcher

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ fi
2323
export HOME=/tmp
2424
export XDG_RUNTIME_DIR=/run
2525

26+
eval $(dbus-launch)
27+
2628
# Setup the IME.
2729
export GTK_IM_MODULE=fcitx
2830
export QT_IM_MODULE=fcitx
@@ -81,7 +83,8 @@ kwin_x11 --no-kactivities --lock &
8183
sleep 5
8284

8385
# IME
84-
fcitx5 &
86+
# FIXME: fcitx5 is not configred properly if LANG is not zh_CN.
87+
env LANG=zh_CN.UTF-8 fcitx5 &
8588

8689
# Disable sleep/suspend
8790
xset s off &

0 commit comments

Comments
 (0)