FLATPAK METADATA(5) flatpak metadata FLATPAK METADATA(5) (NAME) flatpak-metadata - (DESCRIPTION) (Flatpak) (runtimes) . metadata . org.gnome.Calculator ~/.local/share/flatpak/app/org.gnome.Calculator/current/active/metadata . flatpak run flatpak override. /.flatpak-info . /run/user/$UID/flatpak-info (symlink) . (FILE FORMAT) .ini systemd .desktop . [Application] [Runtime] [Application] [Runtime] . : name (string) . . runtime (string) . . sdk (string) (SDK) . 0.1. command (string) . . 0.1. required-flatpak (string list) . 0.8.0 . 0.9.1 0.8.3 0.8.x . 1.4.3 1.2.5 . . 1.6.0 1.4.4 1.6.0;1.4.4; . . tags (string list) AppStream XML. Flathub beta, stable, proprietary upstream-maintained . 0.4.12. [Context] . (Conditional Permissions) ( sockets devices) . . 1.17. if:PERMISSION:CONDITION . if:wayland:has-wayland Wayland Wayland . : true true . false false . has-input-device input true . 1.15.6 true (fallback) . has-wayland Wayland true . has-usb-device usb true . 1.16.0 true . has-usb-portal USB true . ! . if:x11:!has-wayland X11 Wayland **. . ( OR). : sockets=wayland;if:x11:!has-wayland;if:x11:false : sockets=x11;if:x11:!has-wayland; X11 ( x11 ) X11 Wayland . ( override ) ! : sockets=!x11; : sockets=!x11;x11;if:x11:!has-wayland; X11 X11 Wayland . !x11 x11 : x11 . ( ) . : shared (list) . : network, ipc. 0.3. . (Conditional Permissions) . sockets (list) . : x11, wayland, fallback-x11, pulseaudio, session-bus, system-bus, ssh-auth, pcsc, cups, gpg-agent, inherit-wayland-socket. DISPLAY DBUS_SYSTEM_BUS_ADDRESS . 0.3. . (Conditional Permissions) . devices (list) . (device nodes) . : dri GPU (/dev/dri) . 0.3. input (/dev/input). 1.15.6. usb USB ( /dev/bus/usb). 1.15.11. kvm (/dev/kvm). 0.6.12. all /dev /dev/shm ( ). 0.6.6. shm /dev/shm (/dev/shm). 1.6.1. . (Conditional Permissions) . filesystems (list) . : home (home directory). 0.3. home/path ~/path. 1.10. ~/path . host . /home, /media, /opt, /run/media /srv . /dev : devices=all; . /sys . /sys . /run/host host-os host-etc . host- () /run/host host:rw;host-os:ro; host:rw; . : /app, /bin, /boot, /efi, /etc, /lib, /lib32, /lib64, /proc, /root, /run, /sbin, /tmp, /usr, /var. 0.3. host-os /usr /bin, /lib, /lib32, /lib64, /sbin. /etc host-etc : /etc/ld.so.cache ( ) /etc/alternatives ( ). /run/host/usr, /run/host/etc/ld.so.cache . 1.7. host-etc /etc. /run/host/etc . 1.7. host-root . /run/host/root . . /run/host/root . realpath() . chroot /run/host/root . . openat2()[1] RESOLVE_IN_ROOT . steam-runtime-tools[2] . 1.17. xdg-desktop, xdg-documents, xdg-download, xdg-music, xdg-pictures, xdg-public-share, xdg-videos, xdg-templates freedesktop.org[3]. 0.3. xdg-desktop/path, xdg-documents/path, etc. freedesktop.org. 0.4.13. xdg-cache, xdg-config, xdg-data freedesktop.org[4]. 0.6.14. xdg-cache/path, xdg-config/path, xdg-data/path freedesktop.org. 0.6.14. xdg-run/path XDG_RUNTIME_DIR freedesktop.org. xdg-run . 0.4.13. /path . 0.3. ~/path (home). 0.3. ~ home. 1.10. home . :ro . :rw / . . :create / . persistent (list) homedir . ".myapp" "~/.myapp" (bind mount) "~/.var/app/org.my.App/.myapp" . 0.3. features (list) : devel perf, strace gdb. 0.6.10. multiarch / (multilib/multiarch) i386 x86_64. 0.6.12. bluetooth (AF_BLUETOOTH) . . 0.11.8. canbus canbus (AF_CAN) . . 1.0.3. per-app-dev-shm /dev/shm . shm devices . 1.12.0. ! !devel . . (Conditional Permissions) . unset-environment (list) (unset) . ( ) [Environment] . [Instance] /.flatpak-info . . instance-id (string) . XDG_RUNTIME_DIR/.flatpak . instance-path (string) $HOME/.var. app-path (string) /app . 0.6.10. 1.12.0 flatpak run --app-path /app . flatpak run --app-path= ( /app ) . original-app-path (string) flatpak run --app-path /run/parent/app . 1.12.0. app-path . app-commit (string) (commit ID) . original-app-path app-path . app-extensions (list of strings) . EXTENSION_ID=COMMIT . original-app-path /run/parent/app /app . branch (string) stable. 0.6.10. arch (string) . flatpak-version (string) . 0.6.11. runtime-path (string) /usr . 0.6.10. 1.12.0 flatpak run --usr-path /usr . original-runtime-path (string) flatpak run --runtime-path /run/parent/usr . 1.12.0. runtime-path . runtime-commit (string) . original-runtime-path runtime-path . runtime-extensions (list of strings) . EXTENSION_ID=COMMIT . original-app-path /run/parent/usr /usr . extra-args (string) flatpak run . sandbox (boolean) --sandbox flatpak run . build (boolean) flatpak build . session-bus-proxy (boolean) D-Bus ( ) true . 0.8.0. system-bus-proxy (boolean) D-Bus ( ) true . 0.8.0. [Session Bus Policy] sockets D-Bus . org.mpris.MediaPlayer2 () . org.my.App org.my.App, org.my.App.* org.mpris.MediaPlayer2.org.my.App . (org.freedesktop.DBus) API ( org.freedesktop.portal.*) . (broadcast) ( ). [Session Bus Policy] . D-Bus org.gnome.SessionManager org.freedesktop.portal.*. . : none . 0.2. see (enumerate) . 0.2. talk . 0.2. own . 0.2. [System Bus Policy] sockets D-Bus [System Bus Policy] . 0.2. [Session Bus Policy] . . [Environment] [Environment] . 0.3. VAR=VALUE VAR . unset-environment [Context] ( ) . [Extension NAME] (extension points) . (debuginfo) (SDK) . . 0.11.4 ( ) ref name@tag . "tag" . directory (string) . /app /usr . . 0.1. version (string) . . 0.4.1. versions (string) . . 0.9.1 0.8.x 0.8.4. add-ld-path (string) LD_LIBRARY_PATH . 0.9.1 0.8.x 0.8.3. merge-dirs (string) . 0.9.1 0.8.x 0.8.3. download-if (string) (true) . 1.1.1 . : active-gl-driver GL true . 0.9.1 0.8.x 0.8.3. active-gtk-theme GTK ( org.gnome.desktop.interface GSetting) true . 0.10.1. have-intel-gpu i915 true . 0.10.1. have-kernel-module-* ( ) /proc/modules true . have-kernel-module-nvidia. 1.13.1. on-xdg-desktop-* ( ) XDG_CURRENT_DESKTOP true . on-xdg-desktop-GNOME-classic. 1.1.1. autoprune-unless (string) (pruning) (false) . flatpak uninstall --unused flatpak update . active-gl-driver GL true . 0.11.8. enable-if (string) (true) . 1.1.1 . download-if . subdirectory-suffix (string) . "" . GTK+ /usr/share/themes/$NAME/gtk-3.0 subdirectory-suffix=gtk-3.0 . 0.9.1 0.8.x 0.8.3. subdirectories (boolean) true . 0.1. no-autodownload (boolean) <<>> . 0.6.7. locale-subset (boolean) (locales) . . 0.9.13 ( 0.6.6 *.Locale) autodelete (boolean) . 0.6.7. collection-id (string) . . . 0.99.1. [ExtensionOf] . ref (string) (ref) . 0.9.1. runtime (string) . ref runtime/ . 1.5.0. priority (integer) . 0 . 0.9.1 0.8.x 0.8.3. tag (string) . 0.11.4. [Extra Data] . xa.extra-data-sources . uri size checksum . . NoRuntime (boolean) /app/bin/apply_extra . true . 0.9.1 0.8.x 0.8.4. uriX (string) (URI) X. URI http https . 0.6.13. sizeX (integer) X. 0.6.13. checksumX (string) sha256 X. 0.6.13. [Policy SUBSYSTEM] . ! . . 0.6.13. [USB Devices] USB USB . . USB . 1.15.11. enumerable-devices (string list) USB . `--usb` . 1.15.11. hidden-devices (string list) USB . `--nousb` . . 1.15.11. (EXAMPLE) [Application] name=org.gnome.Calculator runtime=org.gnome.Platform/x86_64/3.20 sdk=org.gnome.Sdk/x86_64/3.20 command=gnome-calculator [Context] shared=network;ipc; sockets=x11;wayland; filesystems=xdg-run/dconf;~/.config/dconf:ro; [Session Bus Policy] ca.desrt.dconf=talk [Environment] DCONF_USER_CONFIG_DIR=.config/dconf [USB Devices] enumerable-devices=0fd9:*; hidden-devices=0fd9:0063; [Extension org.gnome.Calculator.Locale] directory=share/runtime/locale subdirectories=true [Extension org.gnome.Calculator.Debug] directory=lib/debug (fallback) Wayland X11: [Application] name=org.example.App runtime=org.gnome.Platform/x86_64/3.20 sdk=org.gnome.Sdk/x86_64/3.20 [Context] shared=network;ipc; sockets=wayland;x11;if:x11:!has-wayland; Wayland Wayland . X11 Wayland (!has-wayland). (SEE ALSO) flatpak(1), flatpak-run(1), flatpak-override(1) (NOTES) 1. openat2() https://man7.org/linux/man-pages/man2/openat2.2.html 2. steam-runtime-tools https://gitlab.steamos.cloud/steamrt/steam-runtime- tools/-/blob/65adfdd5fc812aeb5f33986755f6ff72c9612afa/steam- runtime-tools/resolve-in-sysroot.c 3. freedesktop.org special directories https://www.freedesktop.org/wiki/Software/xdg-user-dirs 4. freedesktop.org Base Directory Specification https://specifications.freedesktop.org/basedir-spec/basedir-spec- latest.html flatpak FLATPAK METADATA(5)