Skip to content

Commit

Permalink
fix cannot input japanese depending on the timing
Browse files Browse the repository at this point in the history
  • Loading branch information
t-matsuo committed Jun 9, 2023
1 parent c85c093 commit 2fa7a77
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/scripts/vnc_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ echo -e "------------------ VNC environment started ------------------"
echo -e "VNCSERVER started on DISPLAY=$DISPLAY"

echo -e "\n------------------ start fcitx ------------------------"
while true; do
ps -ef | grep -q -w [/]usr/bin/fcitx-dbus-watcher
if [ $? -eq 0 ]; then
break
fi
echo "waiting /usr/bin/fcitx-dbus-watcher up"
sleep 1
done
export GTK_TM_MODULE=fcitx
export QT_TM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
Expand Down

0 comments on commit 2fa7a77

Please sign in to comment.