Flatpak

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:

1
$> luet install apps/flatpak

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

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

To install Firefox, for example, now you can:

1
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:

1
$ flatpak search gimp

Running applications

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

1
$> flatpak run org.gimp.GIMP

Updating

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

1
$> 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:

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

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

References