IntelliJ IDEA fails to match launcher (Java)

Bug #533228 reported by Ryan J on 2010-03-06
This bug report is a duplicate of:  Bug #484610: dual-icon when run java-based app. Edit Remove
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Let me know if I miss anything relevant (bzr docky r1165 ppa).

[Desktop Entry]

ps -ef | grep idea

ryan 7927 1 3 01:56 ? 00:01:44 /home/ryan/ramdisk/build-tools/sun-java6-jdk/bin/java -Xms128m -Xmx512m -XX:MaxPermSize=250m -ea -Xbootclasspath/a:../lib/boot.jar com.intellij.idea.Main

If anyone finds a reliable way to map that process back to the wrapper script I'd be impressed. AFAIK it's not possible. The easiest thing for me would be if I could pass a dummy property as part of the JVM options that could be parsed to get the pinning right. Ex:

That's hardly a robust solution, but it does show up via 'ps -ef' and would be very reliable. I was going to ask if you could make an educated guess at the match when a user clicks a pinned launcher and nothing gets attached, but, I imagine the potential for false positives is a worse problem to support than unmatched launches.

Are there any java applications launched via a wrapper script that DO work? I'm guessing the PPID of '1' is the big problem, but I don't understand how it works. I guess what I'm wondering is if there are any best practices that can be followed to make wrapper scripts more launcher friendly.

Docky and Do are amazing!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers