MocaccinoOS and Flatpak integration

MocaccinoOS Desktop supports flatpak, and it’s usage is encouraged for packages like Firefox, LibreOffice, …

To install flatpak, run as root:

$> luet install apps/flatpak

Once flatpak is installed, from your user add the flathub repo:

user $> flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

To install Firefox, for example, now you can:

user $> flatpak install org.mozilla.firefox

For a detailed documentation, we suggest as a follow-up reading the official docs, here you can find a short summary of the most used commands.

Applications can be found in any of the added remotes using the search command. For example:

$ flatpak search gimp

Running applications

After an application is installed, can be run by their id:

$> flatpak run org.gimp.GIMP


To update all your installed applications and runtimes to the latest available version in Flatpak, run:

$> flatpak update

Accessing external paths (or storage) from Flatpak apps

Flatpak runs applications in sandbox that prevents them to access the host content. You can although add paths that are accessible to a specific Flatpak app.

For example, to expose the path /mnt to our org.app.Id:

$>  flatpak override --user --filesystem=/mnt org.app.Id

Flatseal is a GUI permissions manager which offer simple point-and-click permissions operations.


Last modified May 11, 2021: Update migrating.md (bbccc46)