Actually, I think I will try to come up with a patch. I've dug through the code and have a basic understanding of how you are currently matching up processes to desktop files. The only thing holding me back is my lack of C# skills and installing the mono development libraries.
My approach would be to first attempt to match the applications current WM_CLASS property to an existing StartupWMClass property from .desktop. If that fails, then it would use the existing algorithm to match /proc/<pid>/cmd to the exec name.
Actually, I think I will try to come up with a patch. I've dug through the code and have a basic understanding of how you are currently matching up processes to desktop files. The only thing holding me back is my lack of C# skills and installing the mono development libraries.
My approach would be to first attempt to match the applications current WM_CLASS property to an existing StartupWMClass property from .desktop. If that fails, then it would use the existing algorithm to match /proc/<pid>/cmd to the exec name.