Hello,
For my app, I need to read the host’s XDG_DATA_DIRS
var.
Well really, I want to read the host desktop entries detected shown in the overview.
I know that I can read the exposed host filesystem with --filesystem=root
so I ultimately could read almost any directory.
The problem is really, how to get which directories to read ? This is given (partially) by XDG_DATA_DIRS
.
Would there be a way to access the host environment variables, maybe like we can mount /
to /var/run/host
copy XDG_DATA_DIRS
to HOST_XDG_DATA_DIRS
?
Thanks a lot in advance !