...which produces duplicating entries in "Choose an application" dialog (at least when it opens from Double Commander).
~/.local/share/applications alreay, it's all OK
On my laptop (works under Manjaro 20.0 Lysia) I've installed
snapd, which profile is located at
/etc/profile.d/snapd.sh. Flatpak profile is
/etc/profile.d/flatpak.sh. I can't get how they affects
$XDG_DATA_DIRS at the end, but resulting
$XDG_DATA_DIRS contains two
/usr/share entries :
...which in turn leads to duplicating entries in "Choose an application" dialog.
I don't know how to fix it without escaping pamac-snap-plugin or flatpak. What should I do? Is it packaging bug?