Fedora 20/OpenSUSE 13.1 在菜单添加 Eclipse 图标

sudo vi /usr/local/share/applications/eclipse.desktop
输入:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse SDK 
Exec=/home/li/eclipse/eclipse
Icon=/home/li/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true