linux idea桌面图标
touch idea2020.3.4.desktop
vi idea2020.3.4.desktop
[Desktop Entry]
Name=IntelliJ IDEA 2020.3.4
Comment=IntelliJ IDEA 2020.3.4
Exec=/home/idea2020.3.4/idea-IU-203.8084.24/bin/idea.sh #执行的脚本的位置
Icon=/home/idea2020.3.4/idea-IU-203.8084.24/bin/idea.png #图标路径
Terminal=false
Type=Application
Categories=Development;Utility;
给此文件添加执行权限,双击即可够启动idea
chmod u+x idea2020.3.4.desktop
移动desktop文件到applications下即可在应用程序中查看到该图标
sudo cp idea2020.3.4.desktop /usr/share/applications