比如想把Lomboz添加到“应用程序”->"编程“里,方法如下:
sudo vim /usr/share/applications/eclipse.desktop
在里面添加如下内容:
[Desktop Entry]
Name=Eclipse
Comment=org.objectweb.lomboz.product
Exec=/home/work/eclipse/eclipse
Icon=/home/work/eclipse/icon.xpm
Type=Application
Encoding=UTF-8
Categories=Application;Development;
保存退出之后,就能在”编程“菜单中看到了。