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.

1

6 Answers 6

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.

6
  • 1
    When I tried to open that file with gedit or vi it opens up like if you tried to open a binary. Lots of \00,I did search for Eclipse but there isn't any E's around it. Unless you mean the name Eclipse so it says Xclipse? Gedit also warns that I could corrupt the file if I edit it.
    – russjr08
    May 21, 2012 at 19:15
  • @russjr08 See my updates about how to do it
    – yossile
    May 21, 2012 at 19:17
  • Wow that worked!! Thank you soo much! Marking as answer :)
    – russjr08
    May 21, 2012 at 19:19
  • Is there a way to do this with Netbeans too?
    – russjr08
    May 26, 2012 at 21:03
  • 1
    Need to use bvi, vi will corrupt the file. Jul 4, 2012 at 11:24
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.

2
  • @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 6, 2011 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. Oct 22, 2013 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
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

0

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

You must log in to answer this question.