1、在桌面新建idea.desktop
vim idea.desktop

[Desktop Entry]
Encoding=UTF-8
Name=IntelliJ IDEA
Comment=IntelliJ IDEA
Exec=/home/software/idea-2021/bin/idea.sh
Icon=/home/software/idea-2021/bin/idea.svg
Terminal=false
Type=Application
Categories=Application;Development;
2、:wq退出
