This is simple, Anki works well, without much hassle, but we have to set environment variable to be able to to write in certain input method that relies on fcitx5 in wayland.
Anki doesn’t have native support for it, or so it says the fcitx website.
It would make a life a lot easier to add native support for this.
Thanks in advance.
I would also really like this - but I’m mostly just wondering why this even is the case, I’m using Hyprland and for anki I need to set QT_IM_MODULE=fcitx for it to accept my fcitx5 input, although then it somehow doesn’t apply my fcitx5 theme when I do this.
However other QT apps (idk like qbittorrent) work with that variable being unset.
I really don’t understand how anki interoperates with qt and fcitx5 but it would definitely nice if this could be supported in some way.
Hello. I wanted to share my experience about fcitx5 and Wayland in ‘New Fcitx5 problems on Linux; Two Japanese IME questions for Anki 25.07.2 (3adcf05c) and later’ thread but it’s locked, so I will write here.
After doing a fresh install of Kubuntu 25.10 (defaults to a Wayland login session), Fcitx5 and Anki (launcher 25.09.2) worked out of the box. I use both European layouts as well as Chinese Pinyin input, works just perfectly. I did not touch anything in Anki. I did not manually set any environment variables. I use ‘Fcitx 5 Wayland Launcher (experimental)’ in KDE System Settings → Virtual Keyboard.
This is a sharp contrast to my experience with Fcitx 5 in KDE 5 (Kubuntu 24.04 LTS). There, I was even able to get GIMP working with Fcitx, but had no success with Anki. Following the suggestions on installing Anki with system Qt only managed to break network connections in Anki (no way to do sync), but Anki still ignored what I did with Fcitx. I gave up and reverted to Ibus.