linux 创建idea桌面快捷方式

在桌面用vim创建idea.desktop

然后编写如下命令:

[Desktop Entry]
Name=Idea
Comment=Rayn-IDEA-IU
Exec=sh /opt/idea-IC-182.4323.46/bin/idea.sh
Icon=/opt/idea-IC-182.4323.46/bin/idea.png
Terminal=false
Type=Application
Categories=Developer;

name 为快捷方式名

Exec sh 后面为iead.sh脚本的绝对路径(不要忘写sh

Icon 为图标的局对路径(bin文件夹自带

其余直接copy即可

猜你喜欢

转载自blog.csdn.net/zSY_snake/article/details/82433030