New Fcitx5 problems on Linux; Two Japanese IME questions for Anki 25.07.2 (3adcf05c) and later

@Danika_Dakika, I didn’t realize that changing versions with launcher is not a direct equivalent to manual installation. Installing 25.02.7 explicitly has indeed solved the issue for the time being. Since I don’t have any critical need to update, I’ll keep using this version. Thank you very much!

Anyway, I hope this problem is going to be resolved sooner or later and Fcitx5 Mozc users will be able to update Anki.

1 Like

It has been mentioned by Daniel that the launcher currently uses the Qt binaries from PyPI to install Anki. These don’t have the fcitx module, so the expected behavior is that it doesn’t work. As such the behavior isn’t incorrect per se, but certainly can be inconvenient.

At this point I wonder what the best way forward would be. I guess there’s no way around distributing custom Qt.

1 Like

If it become that way, Anki team should mark fcitx as no supported input method since Anki is officially distributed with launcher. It would clearly state to users they cannot use it. Then, community may publish an official workaround that explain fcitx works installing Anki “standalone”.

1 Like

I meant that in order to fix this, there’s no other good way than the Anki project creating and distributing their own Qt binaries. (Instead of using the ones uploaded by others on PyPI.)

I don’t think instructing users on how to do that themselves would be a particular nice solution. I don’t use Linux on desktop but I can understand you wouldn’t want to switch your input method just for a single application, nor would you want to maintain an installation by yourself necessarily even if you could.

I’m glad that 25.02.7 still works with fcitx5/mozc, I was not looking forward to scrambling trying to get my setup working hiccup-free on Arch again. Is there any way to use a “launcher free” version, assuming the newer versions of Anki still work with fcitx5?

On Arch, you can use anki or anki-bin from the AUR

On Fedora, you can use my copr

These packages use the system site package for PyQt and thus support Fcitx5, if you have Fcitx5 correctly configured

1 Like

I am on Arch Linux and i3wm using fcitx5.

After trying various things on this forum, eventually the following worked for me

  1. Uninstall Anki if you installed it from the official site (your collection should be unaffected)

  2. Install anki-bin from the AUR

  3. Add the following to /etc/environment

    QT_IM_MODULES=“fcitx”
    
  4. Save /etc/environment and restart your X11 session

  5. Open Anki and test out fcitx :slight_smile: (e.g. press “b” and try switching input methods and typing something in the browser search bar)

Recent launchers allow you to use your system’s Qt, which is what packages like anki-bin are doing.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.