Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 9041  / 2 Years ago, sat, december 11, 2021, 10:16:32

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.


More From » unity

 Answers
2

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


[#25071] Monday, December 13, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ofunn

Total Points: 164
Total Questions: 116
Total Answers: 116

Location: Liberia
Member since Fri, Oct 22, 2021
3 Years ago
;