Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse menus don't show up after upgrading to Ubuntu 13.10

Tags:

eclipse

ubuntu

The same question has been answered on askubuntu:

Eclipse menus are cut off or don't show

I might have found a possible solution for your problem. I have experienced the same issue as you have described, Ubuntu 13.10 64-bit Unity, Eclipse 4.3.0, menus were not visible.

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.


You have to create a new file to open eclipse.

#!/bin/bash
export UBUNTU_MENUPROXY=0
path_to/eclipse/eclipse

This bug has been confirmed in Ubuntu 13.10, here is a link. In order to overcome problem, you have to change your eclipse.desktop file in part of Exec passing env UBUNTU_MENUPROXY with eclipse path and eclipse will be runnable from launcher with functional menu bar. Here is patern for changing eclipse.desktop file:

Exec=env UBUNTU_MENUPROXY= path/to/eclipse

You should type export UBUNTU_MENUPROXY=0 before opening eclipse, and you have to open eclipse from the terminal instead of the global menu.


I had the same disabled sub-menus problem with Eclipse Kepler 64-bit on Ubuntu 13.10. But I finally managed to get it run with the following little work around. This bug has actually been already reported in this link.

Create a eclipse.desktop file in /usr/share/applications/with the following contents.

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

or else, you could also try with the following executable bash script file which opens Eclipse. Place the file in /bin directory or /usr/local/bin.

#!/bin/bash
 export UBUNTU_MENUPROXY=0
 path_to/eclipse/eclipse

1) First, close eclipse and do this:

sudo gedit /usr/share/applications/eclipse.desktop

2) at the end of this file just copy-paste this line

Exec=env UBUNTU_MENUPROXY=0 /your/path/to/eclipse/binary

Open eclipse, the eclipse's menu will start showing up. (Works on On post Ubuntu version 12.04)


Nothing worked for me until I added the following line to the .profile file in my home folder and restarted my computer.

export UBUNTU_MENUPROXY=0

It worked for me.