2011-09-13 07:16:43 +02:00
#~/.xim template for users to set fcitx as default input method
#copy this file to ~/.xim
#logout and login again, that's all
#for more infomations, see ~/.xim.template
#if any program can't input Chinese, try export LC_CTYPE=zh_CN.UTF-8, e.g
#export LC_CTYPE=zh_CN.UTF-8
2012-08-27 15:38:04 +02:00
## For FCITX 3 series and 4.0 Only
2011-09-13 07:16:43 +02:00
#export XMODIFIERS="@im=fcitx"
2012-08-27 15:38:04 +02:00
#export GTK_IM_MODULE=xim
#export QT_IM_SWITCHER=imsw-multi
#export QT_IM_MODULE=xim
2011-09-13 07:16:43 +02:00
#fcitx -d
2012-08-27 15:38:04 +02:00
## For FCITX version >= 4.1
#Since FCITX 4.1, you can use fcitx itself (besides xim) as the immodule,so the following code might work better (fcitx-gtk2/3, fcitx-qt must be installed), especially when you are using gnome3.
export XMODIFIERS="@im=fcitx"
export GTK_IM_MODULE=fcitx
2013-07-01 19:32:04 +02:00
export GTK3_IM_MODULE=fcitx
export QT_IM_SWITCHER=imsw-multi
2012-08-27 15:38:04 +02:00
export QT_IM_MODULE=fcitx
2014-05-01 16:30:06 +02:00
export QT4_IM_MODULE=fcitx
2013-07-01 19:32:04 +02:00
fcitx -d