I'm using Ubuntu 13.10 (with JDK 1.7.0_45).
I've downloaded and uncompressed Eclipse Kepler for Java EE Developers.
The software menus are messed up. I didn't notice similar problems in other software.
When I click any menu in Eclipse, the drop-down seems to be "cut". Sometimes the drop-down shows, but the options are invisible.
I tried Eclipse Indigo, but the same problem occurs.
How To solve Eclipse menu issues in Ubuntu 13.10
(Stable way, until someone fixes the bug)
This method takes for granted that you already have your eclipse.desktop file (or that you can alternatively create a new one from scratch). Otherwise, you can momentarily take a look at the "fast way" below.
Open your eclipse.desktop file:
(If you can't find it in this path, try in
~/.local/share/applications/eclipse.desktop
. Otherwise, you could have to find yours usinglocate
command).Replace the
Exec=
line with this:Where "eclipse" is the path to your eclipse executable. In this case it's just "eclipse" since there's a symlink in
/usr/bin
folder.NOTE: If you can't find your eclipse.desktop file, you can simply create one from scratch in the above path, and fill it with these lines:
Save the file.
Now you can run Eclipse from its icon as usual.
(Fast but repetitive way)
If you haven't got any eclipse.desktop file and you don't want to create it at the moment, you can simply run Eclipse with this command:
where "eclipse" is the path to your
eclipse
executable. Note that this is just the fast way to run Eclipse once. If you don't want to remember this command and use it every time you have to run Eclipse, follow the "stable way" above.Or you can make an alias out of it
and the command eclipse will work fine.
Sources:
I had the same problem, my laziest fix is
UBUNTU_MENUPROXY=0 eclipse
.Works for me.
In my case there were two versions of the file in /usr/share/applications:
Either delete one of them, or change the Exec line in both of them as described above. The third version of the file is in the home folder:
You can either delete this last one or change the Exec line in this one too.
All you have to do is change the Exec line as follows:
You need to edit a file called eclipse.desktop to include the MENUPROXY option.
sudo find / -name eclipse.desktop
.sudo vim /usr/share/applications/eclipse.desktop
(Note that your location may be different, see the first step.Exec=/opt/eclipse/eclipse
. (Note that yours may just have the "eclipse" in there without the full path).Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse
(Edit as needed. If your install did not have the full path, or if it had a different path, adjust here). Note the space after MENUPROXY= . This is important. ` Start up Eclipse and enjoy menus on the top again.You can try this : http://ubuntuforums.org/showthread.php?t=2181641&p=12819998#post12819998 The menu of Eclipse do not show in Unity Global Menu. Works with me.
In my case the file didn't exist,
I had to create it in
~/.local/share/applications
just create
eclipse.desktop
containingDon't forget to do
, then open eclipse and it just works.