Audio player anki linux wayland

Hi,
I recently migrated with my work to linux, debian 12, installed anki

tar xaf Downloads/anki-2XXX-linux-qt6.tar.zst
cd anki-2XXX-linux-qt6
sudo ./install.sh

like this
and now
I try to play audio like on windows which does not work please help

I am starting anki like this:
pr23m@debian-tp-p15:/opt/anki-25.02-linux-qt6$ ANKI_WAYLAND=1 anki
Anki starting…
Initial setup…
Starting Anki 25.02…
2025-03-12 12:12:36,754:INFO:aqt.mediasrv: Serving on …
Starting main loop…
mpv not found, reverting to mplayer
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/noerrors
JS warning /_anki/js/vendor/mathjax/tex-chtml-full.js:1 No version information available for component [tex]/mathtools

addtinaly sometimes i see sth like this:

I set my anki.desktop to:

[Desktop Entry]
Name=Anki
Comment=An intelligent spaced-repetition memory training program
GenericName=Flashcards
Exec=env QT_QPA_PLATFORM=xcb QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor anki %f
TryExec=anki
Icon=anki
Categories=Education;Languages;KDE;Qt;
Terminal=false
Type=Application
Version=1.0
MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon;
#should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow
X-GNOME-SingleWindow=true
SingleMainWindow=true
StartupWMClass=anki

Try installing mpv.

I did not work but installing addon AwesomeTTS worked
https://ankiweb.net/shared/info/1436550454
unfortunetely now i have to buttons one working on windows and this with AwesomeTTS which works on linux but it’s ok

1 Like

Thanks a lot, i have performence issue with these settings:
[Desktop Entry]
Name=Anki
Comment=An intelligent spaced-repetition memory training program
GenericName=Flashcards
Exec=env QT_QPA_PLATFORM=xcb QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor anki %f
TryExec=anki
Icon=anki
Categories=Education;Languages;KDE;Qt;
Terminal=false
Type=Application
Version=1.0
MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon;
#should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow
X-GNOME-SingleWindow=true
SingleMainWindow=true
StartupWMClass=anki

sometimes Anki is lagging, and window is all balck for a sec are you awerre of this kind of bugs?

Im running Debian 12 with wayland

Try changing your display driver.

1 Like

I changed video driver from openGl to vulcan
But problem still exists sometimes windows are black for a second, and performenc is sluggish


Also on default screen i have this TTS thing how to disable it?

  1. Try the other video drivers. Restart after each change.
  2. See the settings for that add-on.

regarding add-on i had to find config.db file, open it with sqllite3 and change some setting, it was not possible from gui

I have 3 options
Video driver: OpenGl, Vulcan, Software
will check software

Actually ‘Software’ setting seems to work properly. If I will not experience lags and black screens I will close this topic.
Thank you very much.

I would suggest reporting that to the add-on developer – except that I’m pretty sure it is possible to do through the AwesomeTTS preferences window.

share what did you click exacly please

Tools > AwesomeTTS > Advanced

I see know, wtf im retarded thanks xD did it with sqllite db what a … xD thanks mate


I have a question to decks
if i choose to study nvim, will it include subdecks by default how to change it to includ oall subdecks recursively?

Yes. If you click “nvim” to study, that will access its own cards and the cards in any subdecks. Exactly which cards you see and what order you see them will be controlled by the Display Options for “nvim” and by the deck limits for “nvim” and the subdecks.

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