GNOME Bugzilla – Bug 767933
A new solution for the "search path problem"
Last modified: 2018-05-24 18:57:51 UTC
At the GTK hackfest in Toronto, we didscussed a new solution to the "search path problem": how to make locations like flatpak exports or snap installs visible to the system. Currently flatpak installs a snipplet in /usr/share/gdm/env.d/ to add its locations to XDG_DATA_DIRS. This is fragile, does not work with non-gdm, and is prone to ordering issues. The new solution that is being suggested is a fixed location in XDG_RUNTIME_DIR that gets populated with symlinks to additional locations. The initial setup for this can happen in the same place where the runtime dir is created in the first place: pam-systemd. One advantage of this approach is that new locations can be added at runtime without problems.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1176.