Welcome 微信登录

首页 / 操作系统 / Linux / Linux下如何创建桌面图标

Linux下如何创建桌面图标

首先进入/usr/share/applications/目录 ,

创建idea.desktop文件,内容如下


[Desktop Entry]

Type=Application

Name=IDEA

Comment=JetBrains IDEA

Icon=/usr/local/Jetbrains/idea-IU-222.4554.10/bin/idea.png

Exec=/usr/local/Jetbrains/idea-IU-222.4554.10/bin/idea.sh

Terminal=false

StartupNotify=false


也可以像下面这样

[Desktop Entry]

Type=Application

Name=FileZilla

Icon=/data/Firezilla/share/icons/hicolor/48x48/apps/filezilla.png

Exec=/data/Firezilla/bin/filezilla

Terminal=false

StartupNotify=false


保存后,将这个文件复制到桌面即可。

其它的图标也可以仿着创建即可。


其它常用的图标

[Desktop Ent...

该文章为易网时代-编程资源站会员专属文章,请先登录后再进行查看。