Jump to content

Anki (Español)

From ArchWiki


Anki es un sistema de repetición espaciada (SRS), un programa que te permite crear, organizar y estudiar flashcards. Anki es muy flexible y permite la creación de machotes (templates). Se puede utilizar a través de applicaciones de Android y IOS asi como una interfaz web para interactuar con la base de datos de flashcards del usuario. Anki permite el uso de addons, escritos en Python.

Instalación

Instala el paquete anki.

De manera predeterminada, las tarjetas se sincronizan utilizando el servidor web de Anki. Anki 2.1.57+ incluye un servidor de sincronización interno.

Flashcards

Las flashcards se pueden obtener de la siguiente manera:

  • Crearlas dentro de Anki, organizarlas en mazos y posiblmente tagearlas. Las tarjetas pueden contener audio, imagenes e incluso formulas de TeX;
  • Descargarlas, agrupada en un deck compartido existente (e.g. Las 1000 palabras más usadas en un idioma);
  • Generarlas como un archivo .csv que se importe a Anki.

Addons

Anki makes many addons available, which can perform a variety of functions, expanding and personalizing your use of Anki or even setting collaborative decks with AnkiHub. These are third-party and are not checked or vetted by Anki, so only use addons you trust. To install an addon, copy the code from the addon page, go to Tools > Add-ons > Get Add-ons... and paste the code. To manually install an addon file (with a .ankiaddon extension) from sources like github, go to Tools > Add-ons > Install from file.... Some popular addons include Image Occlusion Enhanced and Review Heatmap.

Consejos y Trucos

Free Spaced Repetition Scheduler algorithm (FSRS) (Algoritmo Libre de Planificación de Repetición Espaciada)

Since version 23.10, Anki natively supports the use of a new scheduling algorithm, based on a variant of the DSR (Difficulty, Stability, Retrievability) model, which is used to predict memory states.

The default FSRS parameters are based on 738 million reviews from 20.000 users and are more accurate in comparison to the standard SM2 algorithm, according to benchmarks.

You can find more information about FSRS in the following GitHub repository Open Spaced Repetition

Soporte del orden de trazos de Kanji

Install the ttf-kanjistrokeordersAUR package if you want to display kanji stroke orders in Anki. You have to select this font inside Anki in your deck properties after installation.

Soporte de idiomas asiáticos

Install the mecab-ipadicAUR package and the kakasi package.

Launch Anki, and inside Anki use File > Download > Shared Plugin to download and install the "Japanese Support" plugin, restart.

After creating a new deck, you need to select "Japanese" as the deck model in "deck properties" to have Japanese support. Make sure that the Japanese Support plugin is installed, otherwise you cannot select "Japanese" as the model.

Servidor de sincronización autoalojado

AnkiWeb es un servicio privado. Si prefieres una alternativa autolaojada libre, puedes alojar tu propio servidor de anki-sync.

Instala anki-sync-serverAUR y configuralo a través del archivo /etc/default/anki-sync-server, de acurdo a las instrucciones de https://docs.ankiweb.net/sync-server.html.

Inicia and habilita anki-sync-server.service.

Configura el cliente de Anki en Herramientas > Preferencias > Sincronización. Al final de la pagina ingresa el URL en el cual se encuentra tu servicio.

Tema oscuro

La interfaz de Anki puede ser ilegible con el tema oscuro de GTK. Puede activar el modo nocturno para arreglarlo (Herramientias > Preferencias... > Modo Nocturno).

Si tienes una version antigua necesitarás instalar el addon (e.g. 1496166067 y Vista > Modo Nocturno > Activar Modo Nocturno)

Solución de problemas

No arranca

The display driver can be adjusted by writing either auto or software to ~/.local/share/Anki2/gldriver6 (Qt6) or ~/.local/share/Anki2/gldriver (Qt5). If Anki core dumps at launch with error qt: No suitable graphics backend found then setting it to auto may resolve:

$ echo auto > ~/.local/share/Anki2/gldriver

When using the Nouveau driver, only software is supported and it is known to be buggy (see [1]).

Wayland

Wayland support is available in Anki since v2.1.48. However it is not stable yet and disabled by default. If you want to use it in Wayland anyway, then set some environment variables.

QT_QPA_PLATFORM=wayland
ANKI_WAYLAND=1

It may also be necessary to install the qt6-wayland package.

Related bug report: Github issue #1767

Imagenes aparecen incorrectamente en media sin utilizar

Anki has a feature to check for unused media and delete them to free up space. When copying images from webpages and pasting them into the card editor, the image is often pasted along with an alt attribute inside the <img> tag. If this or any other attribute which is placed before the src attribute contains a > character, this image will show up in unused media and might get accidentally deleted even if it is still being used.

For example, this image will show up in unused media:

<img alt="bad>text" src="image.jpg">

To prevent this, remove any > characters or place the alt attribute after the src attribute:

<img src="image.jpg" alt="bad>text">

See the bug report and forum post.

Tip Press Ctrl+Shift+x to open the HTML editor inside the card editor.

Véase también

Oficial

Otros