在gnome3.x中添加eclipse菜单

ubuntu-gnome 16.04采用gnome3,界面和gnome2有较大区别。对于自己手动解压安装,而非用包管理器安装的程序,需要手工建立应用程序的启动快捷方式。例如,对于eclipse程序,采用如下方式建立启动快捷方式,然后可将启动图标拖放到左侧的Dash上。

$ cd /usr/share/applications
$ sudo vim eclipse.desktop

[Desktop Entry]
Name=eclipse
Comment=powerful java ide
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Application;Development;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=eclipse
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.7.1
X-Ubuntu-Gettext-Domain=eclipse 

原文地址:https://www.cnblogs.com/pandachen/p/8453175.html