Unity launcher for Intellij duplicate after application loading
You can get Intellij to generate the icon in /usr/share/applications for you to copy to your launcher:
- Open a terminal, in idea/bin folder
- Start IntelliJ with
./idea.sh
- Tools -> Generate Desktop Entry
- Close IntelliJ
- In the terminal, start nautilus as admin (
gksudo nautilus
) - Go to /usr/share/applications
- Drag the new icon for IntelliJ to your launcher
Solved this by adding 'StartupWMClass=jetbrains-idea' to the desktop file. Got help from here.
BTW colleague provide a easier way of creating a unity launcher for Intellij.
- Go to tools -> Generate Desktop Entry from Intellj IDEA ( it crates the desktop file for you)
- Search in from dash, run and lock it to the launcher.