-
-
Notifications
You must be signed in to change notification settings - Fork 69
Flatpak Extra Steps
If your music is located outside of ~Music
you will need to add Flatpak permission to access that.
Topics covered:
- Granting file access (GUI way)
- Granting file access (Terminal way)
- Edit with Picard
- Discord Rich Presence
You can apply file permission easily using Flatseal.
-
Install Flatseal (e.g. using your system store app)
-
Open Flatseal, Select Tauon in the left panel, then in the right panel scroll down to the Filesystem section.
-
There you can check any of the following, its up to you:
- All system files
- All user files
- Add a custom filepath to Other Files
-
Done! You can now close Flatseal and re-start Tauon Music Box.
Okay before we run any commands we need to check if the app was installed as USER or SYSTEM since commands on this page are for a USER type installation. If yours is SYSTEM, then omit the --user
flag and run as sudo
.
To check, run flatpak list
, then check the Installation column for Tauon Music Box.
By default, file access is only granted for xdg-music and xdg-downloads, for any other location such as music from another drive mounted elsewhere, you'll need to grant explicit permission:
Run: flatpak override --user com.github.taiko2k.tauonmb --filesystem=/mnt/mymusic/
where /mnt/mymusic/ is the path to your music collection.
If Tauon is running, close and re-open to apply the change.
In order to be able to use the Edit with Picard feature, Tauon needs to be able to run commands on your host system, for this you'll need to grant full sandbox escape. To do so, run:
flatpak override --user com.github.taiko2k.tauonmb --talk-name=org.freedesktop.Flatpak
Note: Omit
--user
and run as sudo if Tauon was installed to system rather than user
Note that only host installed Picard will work. Picard installed using Flatpak will not be detected.
flatpak override --user com.github.taiko2k.tauonmb --filesystem=xdg-run/discord-ipc-0
Note: Omit
--user
and run as sudo if Tauon was installed to system rather than user
Note: You may need to have Tauon running before Discord for RP to work, or vice-versa.
ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-0
Note: Omit
--user
and run as sudo if Tauon was installed to system rather than user
Note: Effect may be lost on system reboot. Run before starting Tauon.
No special configuration should be necessary.
If you later want to revert to the default permissions, run:
flatpak override --user com.github.taiko2k.tauonmb --reset
Note: Omit
--user
and run as sudo if Tauon was installed to system rather than user