Sample Header Ad - 728x90

'/var/lib/flatpak/exports/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS

9 votes
1 answer
15530 views
Weird one, when I update flatpaks I get the following message in terminal:
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /root/.local/share
However, if I run echo $XDG_DATA_DIRS I get the following:
/home/myname/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
Sort of new to linux, so am I missing something? For context, I am using Fedora 37
Asked by Geoff (113 rep)
Apr 28, 2023, 01:26 PM
Last activity: Jul 12, 2025, 04:04 AM