Fcitx5 does not work with jami in debian

Hi, I am using debian testing and have just installed jami debian testing package under my Linux box.
I found that Fcitx5 does not work with jami. When I use Jami, I can not activate Fcitx5.
By the way, I use i3 as my window manager.

Any help for the problem?

Thank you in advance.

1 Like

I was able to get it working in the following way:

  1. Install the fcitx5-frontend-qt6 package.
  2. Set the environment variable QT_IM_MODULE=fcitx only for Jami.
    Then I was able to type Japanese text without problems.

Depending on your setup, you may or may not need the above environment variable. Also, setting it globally may or may not harm other applications that use a different version of Qt (Jami uses Qt6; a lot of other stuff uses Qt5). So best try setting it only for Jami to see if it works. I needed it because I’m on Wayland/KDE5. I just right clicked the Jami icon, clicked “Edit Application…”, the “Application” tab, and entered the above text in the “Environment Variables” field, then it worked.

More info if you are on Wayland:
https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland

Thank you so much for the replying.

I am using i3wm under X11. I have already installed fcitx5-frontend-qt6 and checked fcitx5-diagnose, which showed QT_IM_MODULE for qt6 is fcitx.
I also tried “QT_IM_MODULE=fcitx jami” to invoke jami from terminal, but it didn’t work.

I just wonder if qt6 applications need any special settings for fcitx5, because my other qt applications ( as you mentioned, most of them are qt5 based) can use fcitx5 without problems.

It seems that it is a bug because jami use self-made Qt library which does not enable im module. I cloned the source code and tried to hacked it enabling im module, but no lucky at this moment.

I will try snap version of jami to see if it works. However, I really hope jami team can fixed the bug in the next version.

Good news!
I cloned the lastest nightly source code and build it from scratch, it works!

Thank you so much!

1 Like