Wednesday, December 16, 2015

Unity launcher for Intellij duplicate after application loading



I create a launcher for Ingtellij Idea by writing a custom .desktop file.



[Desktop Entry]
Version=13.3

Name=Intellij Idea
Comment=
Type=Application
Categories=Developoment,IDE
Exec=/home/sravinda/idea-IU-135.690/bin/idea.sh
Terminal=false
StartupNotify=true
Icon=/home/sravinda/idea-IU-133.331/bin/idea.png
Name[en_US]=Intellij Idea



I put it to ~/.local/share/applications. I get and launcher and I added that to the unity side bar.
When I launch the application another icon appear in the side bar. Which is different from other applications. There same icon represent the launched application with small bracket on left of the icon. Any one have idea why is that.



You can get Intellij to generate the icon in /usr/share/applications for you to copy to your launcher:




  1. Open a terminal, in idea/bin folder

  2. Start IntelliJ with ./idea.sh

  3. Tools -> Generate Desktop Entry enter image description here


  4. Close IntelliJ

  5. In the terminal, start nautilus as admin (gksudo nautilus)

  6. Go to /usr/share/applications

  7. Drag the new icon for IntelliJ to your launcher


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...