Monday, November 11, 2013

Fix Eclipse menu bar problem in Ubuntu 13.10
















After installing latest eclipse in Ubuntu 13.10 most probably you might experience a problem with the eclipse global menu bar.
Menu doesn't show it's contents. Editing eclipse.desktop file will fix this. But it won't give the global menu.


Go to the /usr/share/applications directory which contains the eclipse.desktop



sudo cd /user/share/applicatoins

sudo gedit eclipse.desktop

It would contain something like this.

################################## [Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false

Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse


Icon=/opt/eclipse/icon.xpm

Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
##################################

This row will do the trick. If your eclipse.desktop doesn't contain it add it and save.

Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse

/opt/eclipse/eclipse should be replaced with what ever your Exec(Exec=/opt/eclipse/eclipse in my eclipse.desktop ) is equal to.




Then you are done :)



No comments:

Post a Comment