I'm trying to integrate my JS code with unity using low level dbus messaging. I'm able to set launcher icon properties (progress, count, menu etc) for known .desktop files ( for example, "gnome-terminal.desktop" ) Also, I can create my own .desktop file, but it's only visible in launcher if I drag & drop it from /usr/share/applications onto launcher. If I just click on .desktop file, new window causes opening new entry on launcher not associated with that .desktop file. I think I'm missing some step where I tell some service ( Registrar? ) that the window I created is part of my .desktop
script started by clicking on desktop icon (no .desktop icon in launcher menu, "unknown icon" window icon for new window:
Drag & drop .desktop file to launcher. Now have two icons, and results of LauncherEntry progress updates visible on the first one.
So the question is "how do I tell unity that my window belongs to that .desktop file"
my script and .desktop file: https://gist.github.com/sidorares/8d0587e384176f1be83d (I'm using node-x11, node-dbus and node-dbusmenu)