add a desktop entry for intellij idea

The software package for Intellij Idea community version is a self-contained standalone package, which can be run by executing the idea.sh script under the bin directory, as long as a Java Runtime Environment has been installed and correctly configured. However, there is a drawback for this package under Linux distribution, for my case, the Ubuntu Linux. There is no startup menu in the Ubuntu application menus.

After searching the solution using google, the below configuration file can be used.

file:

~/.local/share/applications/intellij-idea-community.desktop

content:

[Desktop Entry]
Type=Application
Name=Intellij IDEA
Icon=/opt/idea/bin/idea.svg
Exec="/opt/idea/bin/idea.sh" %f
Categories=Development;IDE;