With this commit in Github the version system of Anki adopts a new year.month.patch approach. That means that the current version is 23.09. Damien decided this time period as this version brings some major features including FSRS and Image Occlusion
Using Anki at the beginning can be pretty unconfortable, as pressing the spacebar and 1,2,3,4 keys a million times can lead to tendonitis and makes reviews not enjoyable 😦
Instead using a PS4, Xbox or PS4 game controller gives a gaming character to your daily reviews, is easy and can be used while connecting your Laptop with an Ultra HDTV
Installing AntiMicroX, a graphical program used to map gamepad keys to keyboard, mouse, scripts and macros in Arch Linux Distros:
> yay -Ss antimicrox
aur/antimicrox-git 3.3.3.r2.g7a39dc43-1 (+4 0.05)
Map keyboard and mouse actions to gamepad buttons, inspired by qjoypad.
Antimicro fork
aur/antimicrox 3.3.4-1 (+115 0.26) (Installed)
Graphical program used to map keyboard buttons and mouse controls to a
gamepad
antimicrox is the stable release while antimicrox-git is the cutting edge, with the latest commits version.
The original commit that produced the following error:
Exception in thread Thread-1: Traceback (most recent call last): File “/home/chris/ankidev/out/extracted/python/lib/python3.9/threading.py”, line 980, in _bootstrap_inner self.run() File “/home/chris/ankidev/qt/aqt/mediasrv.py”, line 93, in run
DevTools listening on ws://127.0.0.1:8080/devtools/browser/27d471d5-c7a4-4890-aa4a-3e6d790323b1 % (self.server.effective_host, self.server.effective_port) # type: ignore AttributeError: ‘MultiSocketServer’ object has no attribute ‘effective_host
The following steps apply for an Arch Linux and Arch Linux based distributions such as Manjaro etc
sudo pacman -S – -needed base-devel git rustup ninjalibxcrypt-compat (downloads and installs the necessary packages that are used to compile Anki. Newer versions use ninja instead of bazel.
mkdir ~/ankidev (makes a directory where the source tree will be downloaded and the output files will be saved)
./tools/runopt (this command runs an optimized version so it could take longer) or ./run (compilation might be quicker but the program runs slower)
Compiling from the source code will give you the opportunity to test newer changes instead of waiting for a beta version or a stable one. A stable version can take months to be released. Additionally, running from the main branch gives you the ability to report bugs and even propose new features to the developers.
In order to pull new changes use the following command:
cd ~/ankidev && git pull
Then you can recompile to try what has changed.
In case of a bug that you want to reverse back to previous commits you can see the changelog using: git log
If for example the newer commit is troublesome and you want to revert back to a commit with the hash 77a45365cb64284dd4a8cd2535d6cbdc2676472c
then execute: git checkout77a45365cb64284dd4a8cd2535d6cbdc2676472c
Say for example that the developers fix the bug and you want to get back to the main branch. Then use: