Using RStudio 0.99 with Fctix on Linux


Some users have reported problems invoking the IME when using RStudio 0.99 with the Fctix input framework. 

On Linux, RStudio uses a bundled version of Qt 5 that does not include support for Fctix by default. To resolve the problem, you can add Fctix's Qt 5 plugin from your system's Qt 5 installation to RStudio's platform input plugin folder:

$ sudo ln -s /usr/lib/$(dpkg-architecture -qDEB_BUILD_MULTIARCH)/qt5/plugins/platforminputcontexts/ /usr/lib/rstudio/bin/plugins/platforminputcontexts/

If your system doesn't have /usr/lib/(architecture)/qt5, you may need to add a system installation of Qt 5 (look at your specific Linux distribution's instructions). You can also find the source for the FCtix Qt 5 plugin on Github; an alternative method is to build the plugin yourself and copy it to /usr/lib/rstudio/bin/plugins/platforminputcontexts.

Thanks to this post for supplying the workaround.


  • Avatar
    LYU Daliang

    I have changed to iBus and it works with RStudio smoothly.

  • Avatar
    LYU Daliang

    I changed back to Fctix and ran the symbolic link command successfully, but RStudio still won't work with Fctix.

  • Avatar

    It doesn't work in 1.0.136, But It seems that ikunya (author of the original blog) has it covered.
    1. download &install [fcitx-qt5-rstudio.tar.gz](
    2. restart Rstudio.
    3. fcitx-qt5をダウンロード&展開&インストール

    $ wget
    $ tar xf fcitx-qt5-rstudio.tar.gz
    $ cd fcitx-qt5-rstudio
    $ sudo apt install ./fcitx-frontend-qt5-rstudio_1.0.5-1_amd64.deb ./libfcitx-qt5-1-rstudio_1.0.5-1_amd64.deb

  • Avatar
    Junchen feng

    Tc, you are a life saver.