-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b364795
commit 4ebe150
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Flatpak notes | ||
|
||
We think it's best to never use Flatpak. | ||
Specifically, try not to use Flatpak to install `mpv` and `anki`. | ||
Install packages from the official repositories of your distro or from the AUR. | ||
|
||
Read the following notes if you still decide to use Flatpak. | ||
|
||
Make these changes in Flatseal: | ||
|
||
* Enable "Filesystem > All system files" | ||
so it could see `wl-copy`. | ||
Unfortunately, there's no option to provide only a specific system file. | ||
* Add `~/.var/app/net.ankiweb.Anki` to "Filesystem > Other Files" | ||
so mpvacious could add encoded snapshots and audio to Anki. | ||
* Add `PATH=/home/USERNAME/.local/bin:/home/USERNAME/bin:/app/bin:/usr/bin:/run/host/usr/bin` to "Environment > Variables". | ||
There's no option to add a path to `PATH` in Flatseal, | ||
so I opened container, | ||
saved it's PATH and added `/run/host/usr/bin` | ||
so mpvacuous could access `wl-copy`. | ||
* Enable "Shared > Network". | ||
It's enabled by default, but anyway. | ||
|
||
The mpv config root is `~/.var/app/io.mpv.Mpv/config/mpv` | ||
|
||
* `~/.var/app/io.mpv.Mpv/config/mpv/scripts` | ||
* `~/.var/app/io.mpv.Mpv/config/mpv/script-opts` |