Anki
Jump to navigation
Jump to search
Links
- https://docs.ankiweb.net/#/ (including importing)
- Available on Linux:
- Available on Android: https://play.google.com/store/apps/details?id=com.ichi2.anki
- Guides
- Reposition tells Anki in which order to present new cards (Anki will not necessarily present them exactly in that order however!)
Reference
- Notes vs Cards
- Notes are basically information to learn, stored as several fields.
- Cards are the presentation of the notes to the user, and is actually making a study deck.
Install
- Download latest version from Anki web site (version from package manager are often outdated).
- Troubleshoot - no launcher
- Copy the anki.desktop to appropriate directory
sudo cp /usr/local/share/anki/anki.desktop /usr/local/share/applications/
- 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 fieldAdd reverse
(likey
). 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 egy
). - 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.
Mass rename media in collection while preserving links in notes
- Go to browser, select the deck with cards containing media to rename.
- Select all cards (or notes), right click, select "Export Notes..."
- Use "Notes in Plain Text (.txt)" as Export Format, and make sure to include the "notetype name" and "unique identifier".
- Save the notes.
- Open the saved file, and mass edit the media file name using any tool of your choice.
- Mass edit the media name in your media collection folder (/.local/share/Anki2/Clashical/collection.media)
- Import the notes back. When importing, make sure the 'tag' field is pointing to the correct column.
Troubleshoot
- Media that are not in a field are not automatically shared through AnkiWeb. In particular media presented as
<img src="SomeImage.png">
in a note field will not be exported. - To fix this, rename the media file in the collection by adding a trailing underscore (so
<img src="_SomeImage.png">
) [1] - See mass rename tip above.