SHA256
1
0
forked from pool/fcitx
fcitx/xim.d-fcitx

17 lines
393 B
Plaintext

#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
# Avoid relying on autolaunch to improvise D-Bus sessions for each process
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] ; then
eval $(dbus-launch --sh-syntax --exit-with-session)
fi
fcitx -d
# success:
return 0