Flatpak build for Anki, a powerful and intelligent flash card software.
To install: Configure the Flathub remote and run the system-wide or user install:
# system install
flatpak install net.ankiweb.Anki
# user install
flatpak install --user net.ankiweb.Anki
Optional:
- mpv is already bundled together with the package for audio and video support
- Install
org.freedesktop.Sdk.Extension.texlive//24.08
if you want to use TeX
X11: Fractional scaling does not work, only scales by whole numbers
Try running the app as follows:flatpak run --env=QT_SCALE_FACTOR_ROUNDING_POLICY=passthrough net.ankiweb.Anki
. If scaling works properly, add an override with flatpak override --env=QT_SCALE_FACTOR_ROUNDING_POLICY=passthrough net.ankiweb.Anki
or with Flatseal.
X11: Menus in toolbar do not show up properly on theme change
Theme changes do not appear to hot-load properly on X11. Restart the application after changing the theme.MPV: How to disable (due to graphics problems, high cpu, or other reasons)
MPV is bundled with the app, but some people want to disable this due to issues with mpv (not the anki app). Here is how:- Find the addon directory (usually
~/.var/app/net.ankiweb.Anki/data/Anki2/addons
),cd
to it. mkdir nompv
, thencd nompv
- Add the contents of the following to
__init.py__
: https://gist.github.com/rayes0/5fd3a629011846bd17d93fa9276080c7
This will stop mpv’s idle process in anki and replace it with a dummy player. Audio and video will no longer work.
For more information, see #228
Please report any issues in the issue tracker. Try to ensure your issues are specific to the flatpak, otherwise you will be redirected to the main Anki repo.