Run /usr/lib/i386-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
https://groups.google.com/forum/#!msg/fcitx-dev/9HNuLdk_2zQ/GtGFmUq1VhYJ
http://fcitx-im.org/wiki/Input_method_related_environment_variables#GTK_IM_MODULE
apt-get install --reinstall ca-certificates