Comment 40 for bug 484610

Patrik Dufresne (ikus060) wrote :


Correct me if I'm wrong. looking at eclise, LotusNotes, SmarrSVN it's all the same thing.

As an example, I have eclipse.
I run xprop -frame to get it's pid

ps -ef | grep 11074 to find the command line
> dufresne 11074 11073 2 14:23 ? 00:00:02 /home/dufresne/.eclipse/eclipse-modeling/eclipse.orig

It doesn't match so I check it's parent with pid 11073
> dufresne 11073 1 0 14:23 ? 00:00:00 /bin/sh /home/dufresne/.eclipse/eclipse-modeling/eclipse

So the command line here matches my .desktop.
So the only thing to implement to get java application match the .desktop file is to actually run the matching recursively on parent process.