Bugzilla – Bug 1149122
Flatpak/Snap is having trouble with XDG_DATA_DIRS and other XDG related things
Last modified: 2019-09-23 10:03:59 UTC
I've installed flatpak, have restarted my machine multiple times, have uninstalled & reinstalled Flatpak. Whenever I run flatpak update or flatpak run com.slack.Slack, I get the following warning: Note that the directories '/var/lib/flatpak/exports/share' '/home/doug/.local/share/flatpak/exports/share' are not in the search path set by the XDG_DATA_DIRS environment variable, so applications installed by Flatpak may not appear on your desktop until the session is restarted. To log into Slack workspaces, Slack is supposed to open a URL in your browser, you log in, and it is supposed to redirect you back to the application. Another XDG problem pops up. When it gets to the point of redirecting you from the website back to the program (after logging in) this error displays in Chromium: > Could not find any application or handler for slack://t1gh2byu9/magic-login/[CENSORED] The behavior is similar in Firefox. But instead, it just doesn't show an error at all and keeps on loading.
The same sort of problems happen with Snap.
This issue is 100% related to this: https://bugzilla.opensuse.org/show_bug.cgi?id=1149882
Sorry, the containers category is about issues with docker, runc, podman and other container related tools (more on the "server side"). I'm reassigning this bug to the GNOME component, this is probably not the best choice but I don't know who can look into this kind of issues.