/srv/irclogs.ubuntu.com/2017/02/27/#ubuntu-unity.txt

=== hggdh_ is now known as hggdh
=== maclin1 is now known as maclin
=== maclin1 is now known as maclin
=== maclin1 is now known as maclin
kttHello. Could someone explain me in a nutshell, how Unity gets notified about desktop file location of JS applications? Like org.gnome.Maps and so on.17:32
greybackktt: desktop files go in /usr/share/applications (system-wide apps) and $HOME/.local/share/applications (user-only apps)17:37
greybackUnity should be watching for any file additions/removals of those directories - but I know from experience there can be latency before it notices17:38
kttYes, I know. But that's not what I'm having trouble with. Gnome Maps is a JS app! It doesn't have desktop file property in xprop output, neither it has embedded X icon.17:41
kttAnd moreover, executable path/name is /usr/bin/gjs. And nevertheless Unity can find it's .desktop file. Even if I launch it from the terminal.17:43
greybackktt: unity is using heuristics to link GUI process to desktop files. It will read the executable path/name and search for any desktop files with that in the Exec= line17:44
Saviqktt, the project doing that is bamf17:45
Saviqhttps://launchpad.net/bamf17:45
kttCool, thanks! I was just studying it's code.17:45
kttAfter almost a day investigating Unity itself.17:46
kttShould have come and ask earlier.17:46
kttOh. And also libappstream.17:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!