Anki: Difference between revisions

From miki
Jump to navigation Jump to search
Line 8: Line 8:
* [https://www.youtube.com/watch?v=DnbKwHEQ1mA How to reverse cards and reposition them]
* [https://www.youtube.com/watch?v=DnbKwHEQ1mA How to reverse cards and reposition them]
:Reposition tells Anki in which order to present new cards (Anki will not necessarily present them exactly in that order however!)
:Reposition tells Anki in which order to present new cards (Anki will not necessarily present them exactly in that order however!)

== Install ==
* Download latest version from Anki web site (version from package manager are often outdated).

;Troubleshoot - blank start window
* This is a [https://docs.ankiweb.net/platform/linux/blank-window.html known problem] on recent distros (eg. Debian BookWorm).
* To fix, edit the desktop file at {{file|/usr/local/share/applications/anki.desktop}} to include

Exec=env QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" anki %f


== Tips ==
== Tips ==

Revision as of 15:29, 20 March 2023

Links

Guides
Reposition tells Anki in which order to present new cards (Anki will not necessarily present them exactly in that order however!)

Install

  • Download latest version from Anki web site (version from package manager are often outdated).
Troubleshoot - blank start window
  • This is a known problem on recent distros (eg. Debian BookWorm).
  • To fix, edit the desktop file at /usr/local/share/applications/anki.desktop to include
Exec=env QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" anki %f

Tips

Export Deck from AnkiDroid to AnkiApp

  • Export deck as .apkg format, but remove the scheduling information (include media is ok).
  • Copy deck to phone.
  • Import deck.

Import (private) deck from Quizlet

  • Install this add-on: Improved Quizlet to Anki 2.1 Importer
  • Log into Quizlet in Chrome.
  • Open DevTools (Ctrl-Shift-C), go to network tab and reload (Ctrl-R)
  • Click 'All' to show all request, and click on first request
  • Find the line like:
 set-cookie: qlts=1_a5aBh2rZ6sA0SXXvHEMiTs461.I8ghlXK3qj9xijz0wRpglNoI1AL9wt7mPuBjwJnB3HSjdgsH1CEA; expires=Wed, 09-Feb-2022 18:58:02 GMT; Max-Age=7776000; path=/; secure; httponly
  • Go to Ankiweb, add-on dialog, select add-on, and click Config, then paste in the value of qlts:
{
    "cookies": "",
    "qlts": "1_a5aBh2rZ6sA0SXXvHEMiTs461.I8ghlXK3qj9xijz0wRpglNoI1AL9wt7mPuBjwJnB3HSjdgsH1CEA",
    "rich_text_formatting": false
}
  • In Tools, select Import from Quizlet. Then paste-in the URLs of set you want to import. If multi-URL, make a list in an editor separated by newline and paste the list. Eg.
 https://quizlet.com/be/524417350/anglais-score-7-flash-cards/
 https://quizlet.com/be/524420347/anglais-score-9-flash-cards/

Add reverse to an existing card/note

  • If the note was based on card type Basic (with optional reverse), one solution is to type anything in the field Add reverse (like y). This will automatically creates a second card.
Anki can mass edit this using the search & replace feature (just select field Add reverse, then use regexp to fill that field with eg y).
Note however than clearing that field later doesn't seem to remove the Reverse card. For that use second method below.
  • Otherwise, simpler is to change the note type to Basic (and reversed card).
This latter option is even better because it allows for easy mass edit, and also mass removal of the reverse cards by selecting back the original note type.