以eclipse为例,自行下载的。

创建文件/usr/share/applications/eclipse-kepler.desktop

文件内容:

#------------------------

[Desktop Entry]
Version=1.0
Name=eclipse-kepler
Comment=eclipse
Type=Application
Categories=Development;IDE;

#你的eclipse的可执行文件的路径
Exec=/home/jayce/program/eclipse-kepler/eclipse
Terminal=false
StartupNotify=true

#图标的路径
Icon=/home/jayce/program/eclipse-kepler/icon.xpm
Name[en_US]=eclipse-kepler

#------------------------

完了就能从dash里搜到eclipse-kepler了,可以从dash里拖到launcher里去

04-24 02:38