阅读 12

Linux创建桌面图标

首先在/usr/share/applications或~/.local/share/applications下面创建桌面启动文件idea.desktop

  • 创建idea.desktop 内容:
[Desktop Entry]
Name=idea
Name[zh_CN]=idea
Comment=idea Client
Exec=/owner/soft/idea-IU-172.3757.29/bin/idea.sh
Icon=/owner/soft/idea-IU-172.3757.29/bin/idea.png
Terminal=false
Type=Application
Categories=Application;
Encoding=UTF-8
Categories=GNOME;Application;Development;
StartupNotify=true
复制代码
  • 更改文件属性chmod +x idea.desktop

  • 复制idea.desktop到桌面,双击图标,启动idea






About Me

评论