=== hggdh_ is now known as hggdh | ||
=== maclin1 is now known as maclin | ||
=== maclin1 is now known as maclin | ||
=== maclin1 is now known as maclin | ||
ktt | Hello. 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 |
---|---|---|
greyback | ktt: desktop files go in /usr/share/applications (system-wide apps) and $HOME/.local/share/applications (user-only apps) | 17:37 |
greyback | Unity should be watching for any file additions/removals of those directories - but I know from experience there can be latency before it notices | 17:38 |
ktt | Yes, 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 |
ktt | And 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 |
greyback | ktt: 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= line | 17:44 |
Saviq | ktt, the project doing that is bamf | 17:45 |
Saviq | https://launchpad.net/bamf | 17:45 |
ktt | Cool, thanks! I was just studying it's code. | 17:45 |
ktt | After almost a day investigating Unity itself. | 17:46 |
ktt | Should have come and ask earlier. | 17:46 |
ktt | Oh. And also libappstream. | 17:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!