ubuntu 添加应用到Dash启动器
打开终端输入
$sudo vim /usr/share/applications/name.desktop
name是你的程序标识名称
在打开的编辑器中添加以下内容,这里以配置NetBeans为例:
[Desktop Entry] Name=NetBeans Comment=NetBeans IDE Exec=/usr/local/netbeans-7.4/bin/netbeans Icon=/usr/local/netbeans-7.4/harness/nbi/stub/ext/components/products/helloworld/data/icon48.png Terminal=false Type=Application Categories=Application;Development;