FLATPAK-INSTALLATION(5)

πŸ’– FLATPAK-INSTALLATION(5) πŸ’–

okay bestie, so this is the flatpak installation page from the flatpak manual β€” section 5, the file-formats girlies. it's all about how you tell flatpak where your stuff lives. let's get into it 🫢


✨ NAME ✨

flatpak-installation β€” Configuration for an installation location

like, literally just: the config for where an installation lives. that's the whole vibe πŸ’…


🌸 DESCRIPTION 🌸

so flatpak can run in system-wide mode or per-user mode. two modes, two moods, both valid πŸ’–

  • the system-wide data lives in $prefix/var/lib/flatpak/
  • the per-user data lives in $HOME/.local/share/flatpak/

and because the defaults are never enough for a main character, you can also define more system-wide installations with config files in /etc/flatpak/installations.d/ πŸ“βœ¨

those files must have the .conf extension, no cap, and they follow the format described right down below πŸ‘‡


πŸŽ€ FILE FORMAT πŸŽ€

the installation config file format uses the same .ini file format as systemd unit files or application .desktop files. yes bestie, you already know this format, it's giving familiar πŸ¦‹

[Installation ...]

all the config for the installation location with name NAME lives inside the [Installation "NAME"] group. everything, all of it, one little group πŸ₯°

the following keys are recognized:

  • Path (string) β€” the path for this installation. this one is mandatory, like you literally cannot skip it, it's the whole point πŸ”₯
  • DisplayName (string) β€” the name to use when showing this installation in the UI. pretty name for the people ✨
  • Priority (integer) β€” a priority for this installation.
  • StorageType (string) β€” the type of storage used for this installation. possible values include: network, mmc, sdcard, harddisk. pick your fighter πŸ’Ύ

🌈 EXAMPLES 🌈

here's one, isn't she lovely:

[Installation "extra"]
Path=/location/of/sdcard
DisplayName=Extra Installation
StorageType=sdcard

sdcard installation with a cute display name, we love to see it πŸ“


ngl if you forget Path nothing else matters, it's mandatory fr fr. the other keys can chill.

and that's the page!! this came to you from the flatpak manual, FLATPAK INSTALLATION(5) β€” section 5 energy, file-format edition. go configure something iconic bestie πŸ’œπŸ§šβœ¨

πŸ“¦ where this page comes from