10

I installed lotus notes 8.5.2 on 10.10 netbook using unity desktop. At first lotus notes showed its menu. Suddenly (not sure if I did something) the menu disappeared. When I start up using gnome desktop, the menu still is there. Unity shows only the file menu for notes with the only entry for closing notes.

Jorge Castro
  • 71,754
  • 3
    Hi. I don't think is related with the reported issue. Eclipse works fine with the AppMenu in ubuntu >= 11.10. Simply follow this instructions: https://bugs.launchpad.net/eclipse/+bug/618587/comments/46 – Elvis D. Jan 18 '12 at 14:09

6 Answers6

11

Actually there is a way to support global menus for Eclipse:
Use VI to edit the following file: sudo vi /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so.
Search for Eclipse (type /Eclipse) and replace the E character with an X (type rX).
Save it (type :wq) and run sudo ldconfig.

yossile
  • 5,728
3

This is a reported bug in how SWT applications (like Eclipse and Lotus Notes) handle the appmenu.

As a workaround, create this script:

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

If you installed eclipse with Software Centre, then use which eclipse to determine the path.

Make that file executable and try running it. You can use "Main Menu" (search in the Dash) to create a launcher for it so it shows up in the Dash.

That should move the menus from the Unity top bar to the eclipse window. Once the bug is fixed, you will be able to run eclipse normally.

Another question has a much more thorough description of disabling appmenu for any application.

idbrii
  • 3,162
  • @Jorge: I'm a bit confused. I think I answered this on this question, so I guess Marco moved my answer for me? – idbrii May 06 '11 at 18:56
  • On Ubuntu 13.10 with the Scala IDE version of Eclipse from Typesafe. I have no /usr/lib/gtk... folder. Installing gnome-shell didn't help. This was the only thing that worked. – GlenPeterson Oct 22 '13 at 15:05
2

This is a bug and has been reported. You may follow it here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=330563

1

I found this on launchpad. Could you try it, and tell us? (Write the commands exactly like this, because you can search and replace on vim by writing commands)

sudo apt-get install vim
sudo vim /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so

The vim will appear. Write this: /Eclipse

Then, replace the E of Eclipse with an X by writing this: rX

Finally, just save by writing this: ZZ. In caps, so you should do SHIFT+Z SHIFT+Z!

The next step is maybe optional, I don't know:

sudo ldconfig
Jorge Castro
  • 71,754
0

This is the same workaround: If you have a launcher on the desktop, you can insert this into the "Ccommand" line of the Launcher's properties page:

env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse43jee/eclipse

Like this:

Screenshot

knb
  • 5,004
0

For Googlers, if you're getting this in Saucy Salamander, try this: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1221848