unix:flatpak

Set environtment for flatpak run

Problem: journalctl -xe: Exception: Anki requires a UTF-8 locale.

Soltion: change

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=anki --file-forwarding net.ankiweb.Anki @@ %f @@

to

/usr/bin/flatpak run --branch=stable --env=LANG=en_US.UTF-8 --arch=x86_64 --command=anki --file-forwarding net.ankiweb.Anki @@ %f @@
  • unix/flatpak.txt
  • Last modified: 2021-10-16T14:07:33+0200
  • by Wolfgang