1.新建文件*.desktop在“家”目录。 eg:/home/whale/.local/share/applications
2.文件格式及内容:
eg:
[code]
[Desktop Entry]
Version=3.3
Encoding=UTF-8
Name=eclipse
Comment=eclipse
Exec=eclipse
Icon=/space/apps/eclipse/eclipse-3.3/icon.xpm
Terminal=false
Type=Application
Categories=Application;Office;
GenericName[en_US]=[/code]
2.文件格式及内容:
eg:
[code]
[Desktop Entry]
Version=3.3
Encoding=UTF-8
Name=eclipse
Comment=eclipse
Exec=eclipse
Icon=/space/apps/eclipse/eclipse-3.3/icon.xpm
Terminal=false
Type=Application
Categories=Application;Office;
GenericName[en_US]=[/code]