ubuntu图标设置,以eclipse为例 (转载)

来源:互联网 发布:centos mount samba 编辑:程序博客网 时间:2024/06/05 15:27

原文网址:http://blog.csdn.net/huanongjingchao/article/details/46655219


进入/usr/share/applications/目录,新建一个文件,文件名为eclipse.desktop


gedit eclipse.desktop

文件的内容如下:

[Desktop Entry]
Version=1.0
Type=Application
Name=eclipse
Name[zh_CN]=eclipse
Comment=eclipse
Comment[zh_CN]=eclipse
Exec=/usr/local/AndroidSDK/adt-bundle-linux-x86_64-20140702/eclipse/eclipse
Icon=/usr/local/AndroidSDK/adt-bundle-linux-x86_64-20140702/eclipse/icon.xpm
Terminal=false

以上是文件内容

Exec代表eclipse执行文件的路径

Icon代表桌面图标的文件的路径

阅读全文
0 0
原创粉丝点击