I'd suggest desktop files to be installed in /var/lib/snappy/desktop/applications, while /var/lib/snappy/desktop is added to XDG_DATA_DIRS.
This will make unity/bamf to see these .desktop files... The matching of those, might be a different chapter.
I'd suggest desktop files to be installed in /var/lib/ snappy/ desktop/ applications, while /var/lib/ snappy/ desktop is added to XDG_DATA_DIRS.
This will make unity/bamf to see these .desktop files... The matching of those, might be a different chapter.