We can do this without too much fuzz if it's acceptable that it only works if you install the app while Unity is running (or specifically the unity-place-applications daemon). That is - the "easy" fix wont work if you install from a pure TTY session or classic gnome session. This "easy" solution can be implemented purely inside the unity-place-applications daemon.
The slightly cooler, more elaborate, and always-working solution would be to have an apt/dpkg/whatever hook that sends an event to Zeitgeist whenever you install a package that contains one or more desktop files.
We can do this without too much fuzz if it's acceptable that it only works if you install the app while Unity is running (or specifically the unity-place- applications daemon). That is - the "easy" fix wont work if you install from a pure TTY session or classic gnome session. This "easy" solution can be implemented purely inside the unity-place- applications daemon.
The slightly cooler, more elaborate, and always-working solution would be to have an apt/dpkg/whatever hook that sends an event to Zeitgeist whenever you install a package that contains one or more desktop files.