Closed puelp closed 2 years ago
I have a similar issue. Are you using fcitx?
Now, does the normal Anki work for you? https://apps.ankiweb.net There's installation instructions in there, it works perfectly for me and I've started using it in place of the flatpak for the time being.
I'm using GNOME and GNOME's input manager, whatever that may be!
I haven't tried normal Anki because I'm a complete noob and I'm 100% sure that I will accidentally delete all my files if I start messing with the command line haha.
It's okay, you won't break your system. I'll guide you through it.
~/Downloads
, in other words, /home/whateveryourusernameis/Downloads
) or you will be prompted to save it. Please put it in ~/Downloads
.$
symbol. My instructions don't have the symbol, so feel free to copy-paste each individual line to your terminal (or type them out manually). If you don't want to type the entire name of the file, you can press Tab once to autocomplete, or twice to show options. If you feel scared or insecure about what you have typed, press Ctrl + C
and retype what you were just typing.
tar xjf Downloads/anki-2.1.40-linux.tar.bz2
cd anki-2.1.40-linux
sudo ./install.sh
If for whatever reason Anki is erroring out when you open it (unlikely), open your terminal again and put this in: sudo apt install libxcb-xinerama0
, and it should work.
Thank you, it worked. :)
This seems to happen with input method frameworks in general. Neither Fcitx nor IBus seem to work with the Flatpak version of Anki, yet they work just fine with the "normal" one. The only other Flatpak in my system is Telegram, and Fcitx seems to work just fine there.
I'm running KDE Neon 5.22.
Same for me, Fedora 34 (still need to upgrade) and GNOME. Switching IME to Japanese does not work with this Flatpak.
Sorry for the spam but wanted to document my solution.
Turns out that this is due to a missing environment variable: IBUS_USE_PORTAL=1
-- based on a lucky guess seen in this link.
It is possible to add an override for yourself by running this:
$ flatpak override --user --env=IBUS_USE_PORTAL=1 net.ankiweb.Anki
I've got the same problem: flatpak version simply ignores fcitx5 Japanese input. @shoop , do you know whether there is similar variable for fcitx5?
Similar issue for Japanese with fcitx5 mozc input has been created: https://github.com/flathub/net.ankiweb.Anki/issues/56
IBUS_USE_PORTAL=1
does fixes ibus for me with or without wayland.
Flathub Anki does not allow me to type in Korean.
Maybe this issue affects CJK characters in general?