#make sure set these vars before dbus-launch export LC_CTYPE=$LANG export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE=fcitx export QT_IM_SWITCHER=imsw-multi export QT_IM_MODULE=fcitx # FIXME: a little bit of delay is required to avoid race (boo#947576) (sleep 2; fcitx5 -d) & # success: return 0