In the process of creation of DockBar I've found a big problem in that there is no perfect way to found .desktop-file for launched application.
There are several ways to do it, but they are all far from perfection and not always works.
There are some troubles in creation such programs (like DockBar/AWN/Gnome-Do/etc....) because of the above mentioned problem:
- hard to find normal icon
- hard to find localized name for app
- hard to use launchers