Tuesday, February 3, 2015

Install fcitx for KDE with Fedora

Install fcitx

1. Use root account
2. Run following commands to install fcitx:

yum install fcitx, fcitx-qt4, fcitx-configtool, fcitx-cloudpinyin, fcitx-pinyin, fcitx-table, fcitx-table-chinese, kcm-fcitx

Configure fcitx

After install fcitx, you need to configure it
1. Create a fcitx.sh file in /etc/profile.d/
2. Add following code to this file:

export XMODIFIERS="@im-fcitx"
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx

Now, restart your computer and you should be good to go. Open a konsole, run fcitx and it should be started.

Autostart fcitx

If you want to have fcitx auto start with your kde, you need to run following command:

ln -s /usr/share/applications/fcitx.desktop ~/.config/autostart/fcitx.desktop

Restart your computer and you should see the difference.