-
-
Notifications
You must be signed in to change notification settings - Fork 70
Flatpak Permissions
By default, the Flatpak install will run in a restricted sandbox. However for some functionality to be available, some additional permissions will need to be granted.
sudo flatpak override com.github.taiko2k.tauonmb --filesystem=/mnt/example/mymusic/
Note: If the flatpak is installed as user instead of system then run override commands without
sudo
and include the--user
flag. So for example the above command becomesflatpak override --user com.github.taiko2k.tauonmb --filesystem=/mnt/example/mymusic/
Note: For best security practice, its better to permit just the path to your music library as above.
sudo flatpak override com.github.taiko2k.tauonmb --filesystem=host
sudo flatpak override com.github.taiko2k.tauonmb --talk-name=org.freedesktop.Flatpak
Note: This permission allows the running of commands in the host environment, essentially disabling the sandbox.
Note: Only host installed (non-flatpak) type Picard is supported at this time.
Restart the app if open for changes to take effect.
sudo flatpak override com.github.taiko2k.tauonmb --filesystem=xdg-run/discord-ipc-0
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: 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:
sudo flatpak override com.github.taiko2k.tauonmb --reset