解决ubuntu14.04下eclipse 不能显示菜单的问题

So I realise that it might be helpful if I clarify myself, the desktop shortcut file for Eclipse would contain something like this:

[Desktop Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE for all seasons
#Exec=/home/USERNAME/Dokument/eclipse/eclipse
Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse
Icon=/home/USERNAME/Dokument/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application

The row Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse, part referenced in the post I pointed to, is the one that makes menus visible, et voila! :)

In my case this file (eclipse.desktop) resides in /usr/share/applications/

Hope this helps.


你可能感兴趣的:(eclipse,ubuntu,菜单)