Automate installation Flatpak Repositories, Applications and Permissions
Automate the installation Flatpak Repositories, Applications and Permissions
flatpak --version
)python --version
pip --version
How to Install Flatpak on your distro
After verifying you have Python 3 and pip module manager installed, use the
following command to install.
pip install --user flatpak-sync
Install some flatpak applications, change some permissions. When you’re happy, run the following command to generate a configuration file.flatpak-sync generate -v
Okay, you have to setup a new computer. After installing your distro, take your configuration file and just run flatpak-sync
$HOME/.config/flatpak-sync/flatpak.json
)flatpak-sync run -v
Add an Application to your configuration file. This also copies user permissions.
flatpak-sync add <repo> <app-id>
flatpak-sync add --help
eg.
flatpak-sync add flathub com.spotify.Client
Remove an Application from syncing.
flatpak-sync remove <repo> <app-id>
flatpak-sync remove --help
eg.
flatpak-sync remove flathub com.spotify.Client
Create a configuration file of existing flatpak repositories, applications and permissions.
flatpak-sync generate
flatpak-sync generate --help
Install flatpak applications and configure permissions (Sync)
flatpak-sync run
flatpak-sync run --help
Chezmoi is a command line tool to easily manage your dotfiles with git.
https://github.com/twpayne/chezmoi
https://fedoramagazine.org/take-back-your-dotfiles-with-chezmoi/
Flatseal is a GUI application that makes adding permissions to your flakpak applications easy.
https://flathub.org/apps/details/com.github.tchx84.Flatseal
https://www.omgubuntu.co.uk/2020/02/flatseal-manage-flatpak-permissions
Creae an issue and post these things
hostnamectl
)flatpak --version
)~/.config/flatpak-sync/flatpak.json
) fileCreate an issue here on github.
Yes, they can be found here.
Yes, create a Pull Request.
$HOME/.config/flatpak-sync/flatpak.json
Here is an example configuration file