LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

flatpak-config

Manage configuration for a Flatpak installation

TLDR

List all configuration keys and values
$ flatpak config --list
copy
Print the value of a key
$ flatpak config --get [languages]
copy
Set locale extensions to install
$ flatpak config --set languages "sv;en;fi"
copy
Unset a key so Flatpak uses its default
$ flatpak config --unset [languages]
copy
Configure the per-user installation
$ flatpak config --user --list
copy
Configure the system-wide installation
$ flatpak config --system --list
copy

SYNOPSIS

flatpak config [OPTIONS]flatpak config [OPTIONS] --set KEY VALUEflatpak config [OPTIONS] --get|--unset KEY

DESCRIPTION

flatpak config shows or changes configuration for a Flatpak installation. It is a flatpak subcommand, not a separate binary.Supported keys:languages

Semicolon-separated two-letter language codes for Locale extensions, or one of the special values star or star-all. When unset, Flatpak uses extra-languages plus the current locale.
extra-languages
Extra locale identifiers used when languages is unset (language, optional locale, optional codeset, optional modifier), for example `en;enDK;zhHK.big5hkscs;uz_UZ.utf8@cyrillic`.
report-os-info
If false, or if the file `no-report-os-info` exists under FLATPAK CONFIG DIR, Flatpak does not send OS name, version, and architecture from `/etc/os-release` to remotes in the `Flatpak-Os-Info` HTTP header. Default when unset is true.
For remotes, use flatpak remote-modify. For per-application permissions, use flatpak override.

PARAMETERS

--list

Print every key and its value.
--set KEY VALUE
Set KEY to VALUE.
--get KEY
Print the value of KEY.
--unset KEY
Remove KEY so the default applies.
-u, --user
Configure the per-user installation.
--system
Configure the default system-wide installation.
--installation=NAME
Configure the named system-wide installation from `/etc/flatpak/installations.d/`. --installation=default is the same as --system.
-h, --help
Show help and exit.
-v, --verbose
Print debug information during command processing.

INSTALL

sudo apt install flatpak
copy
sudo dnf install flatpak
copy
sudo pacman -S flatpak
copy
sudo apk add flatpak
copy
sudo zypper install flatpak
copy
nix profile install nixpkgs#flatpak
copy

CAVEATS

System-wide changes need root or polkit. Per-user configuration lives with the user installation under `~/.local/share/flatpak/`. `*` as a languages value is a special token, not a glob.

SEE ALSO

RESOURCES

Copied to clipboard
Kai