#Anki flatpak crashes on launch

6 messages · Page 1 of 1 (latest)

noble crow
#

All in the title.
My OS is Bazzite.
I have tried reinstalling Anki as well as the OS.
When opening Anki, the window pops up, and then disappears. Then nothing else happens.

sly flax
# noble crow All in the title. My OS is Bazzite. I have tried reinstalling Anki as well as t...

The flatpak is generally out of date and isn't maintained by the Anki developers. It's not the recommended installation method on Linux.

I also use Bazzite on my computer.

My recommendation would be to use Distrobox to install Anki. This will require a bit of research (because I also don't know the steps by heart).

Distrobox lets you transparently run other Linux OSes on top of your currently installed OS, sharing the same file system. But unlike Bazzite, which is immutable, you can install things in the distrobox directly from package managers / the internet. The general steps will be something like...

  1. Install a Linux environment in Distrobox (e.g. Ubuntu).
  2. Download Anki for Linux as per these instructions.
  3. From within your Ubuntu Distrobox, navigate to your downloads folder and execute the commands to install Anki.
  4. From within your Ubuntu Distrobox, open Anki to make sure it works.
  5. Export the Anki app from your distrobox to a shortcut on Bazzite (so you can click on it like you would a normally installed app and it'll open up).
#

--
If you're going to use an immutable distro like Bazzite, it's worth playing around with Distrobox because it's generally how you should install anything that you can't install via a Flatpak. (E.g. I have htop installed in a distrobox, because I like the colors, and I have a machine learning environment set up in a distrobox that required compiling and installing a variety of packages).

noble crow
#

thanks again @sly flax

#

I currently use waydroid to emulate android and use Ankidroid there. may as well stick with that if emulating is the only option

sly flax
# noble crow I currently use waydroid to emulate android and use Ankidroid there. may as well...

It's not really emulation. It's apparently a container (more like a docker image than a VM). I don't know the nitty gritty of how those are different.

It's not too much work to set up, and it's completely seamless with the rest of the operating system once you have it set up (i.e. you can open it by clicking a shortcut on your desktop / it has access to your file system like normal). You'd also get access to some Desktop only features along with addons.

It's also not particularly dangerous to try to set up.