Package: flatpak Version: 1.6.3-1 Followup-For: Bug #927907 Dear Maintainer,
I had the exact same problem immediately following installation of the flatpak deb package, in that XDG_DATA_DIRS had not been altered. Following a reboot, however, both the local and system flatpack/exports/share directories were prepended to XDG_DATA_DIRS (maybe due to /usr/lib/systemd/user-environment-generators/60-flatpak). If I experienced the same problem the earlier reporters did, perhaps the solution is to (a) warn the users that a reboot (or just a fresh log in) is necessary for the XDG_DATA_DIRS variable to be updated, or perhaps (b) so something clever to adjust the XDG_DATA_DIRS variable during package installation. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (995, 'testing'), (750, 'stable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-2-amd64 (SMP w/12 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages flatpak depends on: ii adduser 3.118 ii bubblewrap 0.4.1-1 ii libappstream-glib8 0.7.17-1 ii libarchive13 3.4.3-1 ii libc6 2.30-8 ii libdconf1 0.36.0-1 ii libfuse2 2.9.9-3 ii libgdk-pixbuf2.0-0 2.40.0+dfsg-5 ii libglib2.0-0 2.64.3-1 ii libgpgme11 1.13.1-6 ii libjson-glib-1.0-0 1.4.4-2 ii libostree-1-1 2020.3-1 ii libpolkit-agent-1-0 0.105-26 ii libpolkit-gobject-1-0 0.105-26 ii libseccomp2 2.4.3-1+b1 ii libsoup2.4-1 2.70.0-1 ii libsystemd0 245.6-1 ii libxau6 1:1.0.8-1+b2 ii libxml2 2.9.10+dfsg-5+b1 ii xdg-dbus-proxy 0.1.2-1 Versions of packages flatpak recommends: ii desktop-file-utils 0.24-1 ii gtk-update-icon-cache 3.24.20-1 ii hicolor-icon-theme 0.17-2 ii libpam-systemd 245.6-1 ii p11-kit 0.23.20-1 ii policykit-1 0.105-26 ii shared-mime-info 1.15-1 ii xdg-desktop-portal 1.6.0-1 ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.6.0-1+b1 Versions of packages flatpak suggests: ii avahi-daemon 0.8-3 -- no debconf information