flatpak: env XDG_DATA_DIRS doesn't include /app/share in runtime terminal
The environment variable XDG_DATA_DIRS
doesn't include /app/share
therefore gsettings schemes installed by an app aren't found in when running the app from the runtime terminal.
Steps to reproduce:
- Build any project (e.g. polari)
- open a runtime terminal
- run the app (e.g. polari)
The app will fail to run because it can't find the gsettings scheme.
Also checking with echo $XDG_DATA_DIRS
does show that /app/share
isn't included.
Platform:
flatpaked gnome-builder from gnome-nightly 41.alpha (3.40.0-36-gd5095fec7+)
on Fedora Silverblue
Edited by Julian Sparber