Skip to content

Instantly share code, notes, and snippets.

Created May 14, 2018 03:23
What would you like to do?
Install fcitx in Linux Mint 18.3 (Ubuntu 16.04)
sudo apt install fcitx fcitx-config-gtk fcitx-frontend-all fcitx-ui-classic fcitx-ui-qimpanel fcitx-libs-qt fcitx-libs-qt5 fcitx-config-gtk2 fcitx-libs-dev fcitx-frontend-qt4 fcitx-frontend-qt5 fcitx-ui-light
echo 'export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export QT4_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx' >> ~/.xprofile

Install quick classic:

sudo apt install fcitx-table-quick-classic

If anything doesn't work, run fcitx-diagnose.

To Fix this: 2. gtk-query-immodules:

  1.  gtk 2:

      **Cannot find `gtk-query-immodules` for gtk 2**

      **Cannot find fcitx im module for gtk 2.**

  2.  gtk 3:

      **Cannot find `gtk-query-immodules` for gtk 3**

      **Cannot find fcitx im module for gtk 3.**
sudo ln -s /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 /usr/bin/gtk-query-immodules-3.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 /usr/bin/gtk-query-immodules-2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment