FLATPAK-REMOTE(5)
π FLATPAK-REMOTE β the remote config glow-up guide π
okay bestie, so this is the flatpak-remote manual page, section 5 (file formats, the β¨fancyβ¨ corner of the man universe), and we're gonna talk about how Flatpak keeps track of your remotes. no cap. π
π NAME π
flatpak-remote β Configuration for a remote π¦
β¨ DESCRIPTION β¨
so Flatpak stores all the info about your configured remotes for an installation location in $installation/repo/config. like, that's the spot. π
- for the default system-wide installation, the remotes live in
$prefix/var/lib/flatpak/repo/config - for the per-user installation, they live in
$HOME/.local/share/flatpak/repo/config
ngl, normally you do not need to edit remote config files by hand β that's giving "why would you do that to yourself" energy. the flatpak remote-modify command is the one you should be using to change properties of remotes. use it. love it. π
also, system-wide remotes can be statically preconfigured by dropping flatpakrepo(5) files into /usr/share/flatpak/remotes.d/ and /etc/flatpak/remotes.d/. and if a file with the same name exists in both places, the file under /etc takes precedence β like, /etc is the main character, /usr is the understudy. π
π FILE FORMAT π
the remote config file format uses the exact same .ini file format that systemd unit files or application .desktop files use. so if you've met one, you've met them all, fr fr. π«Ά
πΈ [remote ...] πΈ
all the configuration for the remote with name NAME is contained in the [remote "NAME"] group. that's the whole vibe. β¨
the following keys are recognized by OSTree, among others:
url(string) β the url for the remote. an URL of the formoci+https://oroci+http://is a Flatpak extension that indicates the remote is not an ostree repository, but is rather an URL to an index of OCI images that are stored within a container image registry. π³
for OCI remotes, client and CA certificates are read from /etc/containers/certs.d and ~/.config/containers/certs.d as documented in containers-certs.d(5).
gpg-verify(boolean) β whether to use GPG verification for content from this remote. πgpg-verify-summary(boolean) β whether to use GPG verification for the summary of this remote.
β οΈ this is ignored ifcollection-idis set, because refs are verified in commit metadata in that case. and heads up: enablinggpg-verify-summarywould break peer to peer distribution of refs. so likeβ¦ don't. π
collection-id(string) β the globally unique identifier for the upstream collection repository, to allow mirrors to be grouped. πͺ
all flatpak-specific keys have a xa. prefix, because branding, obviously:
xa.disable(boolean) β whether the remote is disabled. defaults tofalse.xa.prio(integer) β the priority for the remote. this is used when listing remotes, and when searching them for the runtime needed by an app. the remote providing the app is searched for its runtime before others with equal priority. defaults to1.xa.noenumerate(boolean) β whether this remote should be ignored when presenting available apps/runtimes, or when searching for a runtime dependency. defaults tofalse.xa.nodeps(boolean) β whether this remote should be excluded when searching for dependencies. defaults tofalse.xa.title(string) β an optional title to use when presenting this remote in a UI. β¨xa.title-is-set(boolean) β this key is set totrueifxa.titlehas been explicitly set.xa.comment(string) β an optional single-line comment to use when presenting this remote in a UI. π¬xa.comment-is-set(boolean) β this key is set totrueifxa.commenthas been explicitly set.xa.description(string) β an optional full-paragraph of text to use when presenting this remote in a UI. πxa.description-is-set(boolean) β this key is set totrueifxa.descriptionhas been explicitly set.xa.homepage(string) β an optional URL that points to a website for this repository to use when presenting this remote in a UI. πxa.homepage-is-set(boolean) β this key is set totrueifxa.homepagehas been explicitly set.xa.icon(string) β an optional URL that points to an icon for this repository to use when presenting this remote in a UI. πxa.icon-is-set(boolean) β this key is set totrueifxa.iconhas been explicitly set.xa.default-branch(string) β the default branch to use when installing from this remote. πΏxa.default-branch-is-set(boolean) β this key is set totrueifxa.default-branchhas been explicitly set.xa.main-ref(string) β the main reference served by this remote. this is used for origin remotes of applications installed via aflatpakreffile. π―xa.signature-lookaside(string) β URL to load signatures from (OCI remotes only), using the containers/image separate storage mechanism.[1]
π₯ EXAMPLES π₯
here's what it actually looks like, bestie β icons only, no edits:
[remote "gnome-nightly-apps"]
gpg-verify=true
gpg-verify-summary=true
url=https://sdk.gnome.org/nightly/repo-apps/
xa.title=GNOME Applications
[remote "flathub"]
gpg-verify=true
gpg-verify-summary=false
collection-id=org.flathub.Stable
url=https://dl.flathub.org/repo/
xa.title=Flathub
π SEE ALSO π
ποΈ NOTES ποΈ
- containers/image separate storage mechanism. https://github.com/containers/image/blob/main/docs/signature-protocols.md
and that's the whole page, periodt. π this came to you from the flatpak crew, filed under FLATPAK REMOTE(5) β go forth and configure your remotes responsibly, you absolute icon. π¦πΈπ
π¦ where this page comes from
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: flatpak 1.18.4-1.fc44 Β· LGPL-2.1-or-later
- nixpkgs unstable: flatpak 1.18.4
- ubuntu stonking: flatpak 1.18.4-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms