Unicode Alt Code Input on Linux Mint Not Working w/ New Version

Had a similar problem to: forums.ankiweb.net/t/unicode-alt-code-input-on-linux-not-working-with-new-launcher/65532 but it seems the issue was closed.

I am on Linux Mint 22. I recently updated Anki from a 2024 version (not sure, if there is a way to check, just let me know) to Anki 25.09.2.

Previously, I used to be able to type Unicode characters using CTRL + SHIFT + U and an underlined U+ would appear that would allow me to type in the Unicode hexadecimal string. This would generally work in every editor in Anki, from the editor for creating a new card to the editor present when browsing cards or the typing prompts in some of my flashcards. However, I am unable to perform this now in any of the editors in Anki after the update and pressing CTRL + SHIFT + U followed by the hexadecimal string does nothing, it only types the normal string (as if I didn’t press CTRL + SHIFT + U). I tried using CTRL + U but that just enables the underline formatting.

I have verified I can use Unicode characters in the Anki launcher (the CLI) but after booting, I cannot. I can still use Unicode characters in every other application. Based on that, it might be a Qt problem but I am not sure how to troubleshoot that.

I have tried disabling the add-ons and restarting Anki and my computer and it still does not work.

Any ideas?

1 Like

I don’t think so. On debian trixie it works perfectly fine for me. And it worked on debian 12 as well judging by daes comment in your linked topic (see Unicode alt code input on Linux not working with new launcher - #4 by dae).

It was automatically closed because there was no activity on it.


  1. Can you use Ctrl+Shift+u outside of Anki? You already confirmed this.
  2. Can you try the results that you get on the internet for searches like “linux mint control shift u not working”? E.g. this one: https://forums.linuxmint.com/viewtopic.php?t=320998
  3. Have you changed your keyboard related settings in any way (maybe indirectly by updating your distro)?
  4. Does it not work anywhere in Anki or can you find a window where it works?

I wanted to share my solution in case anyone stumbles upon this and has the same issue (not able to use CTRL+SHIFT+U for Unicode characters and press CTRL + ENTER to switch languages to Korean using fcitx5).

While I am not sure exactly the root cause (maybe someone else knows), I essentially followed this guide on the Anki installation documentation: Install & Upgrade - Anki Manual.

Based on the guide, I removed the specific directory, extracted the compressed file, created system_qt file, and installed the python3-pyqt6.qtwebengine package.

After installing Anki via the ./install.sh script, I then received the following error after installing and trying to run anki via the command line (the same error as also received when just trying to run anki in the compressed folder without installing via ./install.sh):

~/Downloads/anki-launcher-25.09-linux$ anki
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/.../.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/__init__.py", line 65, in <module>
    from aqt import gui_hooks
  File "/home/.../.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/gui_hooks.py", line 11, in <module>
    from _aqt.hooks import *
  File "/home/.../.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/_aqt/hooks.py", line 18, in <module>
    from aqt.qt import QDialog, QEvent, QMenu, QModelIndex, QWidget, QMimeData
  File "/home/.../.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/qt/__init__.py", line 19, in <module>
    from .qt6 import *
  File "/home/.../.local/share/AnkiProgramFiles/.venv/lib/python3.12/site-packages/aqt/qt/qt6.py", line 16, in <module>
    from PyQt6.QtQuick import *
ModuleNotFoundError: No module named 'PyQt6.QtQuick'

Just based on the error, I decided to just download the python3-pyqt6.qtquick package. After installing and trying to run anki, it worked and I was able to not only do CTRL + SHIFT + u to type unicode characters based on the code point within the Anki GUI, but I was also able to switch languages to Korean using fcitx5 within the Anki GUI.

2 Likes

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