Flatpak in Ubuntu 20.04
Add Flatpak Repository for Ubuntu
Execute:
sudo add-apt-repository ppa:alexlarsson/flatpak
And if you Get a Missing Repo Issue then Amend it Manually with:
sudo nano /etc/apt/sources.list.d/*flatpak*.list
Changing ‘focal’ in ‘eoan’!
Ctrl+x to Save & Exit from nano Editor.
And then to Refresh Apt Repos:
sudo apt update
sudo apt install flatpak
sudo apt install gnome-software gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Managing permissions for flatpakapps
Install Flatseal. It makes setting permissions super easy and also has the added benefit of making the existing permissions really clear. I added the directory "MediaSSD" there, everything else is default.
Now you may safely remove Ubuntu’s snap store to avoid redundancy of features but it is not really needed to do so.
snap remove snap-store
Now restart the system and it’s all done! You can now pop open GNOME Software from the app menu or by using search. The app is simply labelled “Software”.
There is one issue with permissions in Flatpak apps. Sometimes you need other permissions for your apps to work the way you like them to work.
If you install the app Flatseal, you get an easy tool to change all sorts of permissions.
It is a flatpak app and can be installed using this link