1.利用个gedit或者vi或者vim在桌面新建一个后缀名为.desktop的文件,文件名根据软件来吧。
例如gedit Eclipse.desktop
2.在文件中写入一下内容:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE for Java
Exec=/home/tcy/eclipse/eclipse
Icon=/home/tcy/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=TextEditor;IDE;
Keywords=Eclip