Comment 7 for bug 1551283

Another thing: If I understand it correctly, gnome-session sets always the IM related environment variables to ibus. Considering that you have im-config anyway in Ubuntu GNOME, it may be desirable to comment that code via a patch. Doing so may be a condition for making it possible to use fcitx at all.