Android Development

Fix the Ubuntu 13.10 update Eclipse menu problem

After updating to Ubuntu 13.10 (Saucy) there is a bug causing menus to break. More details of the bug can be found at the Launchpad discussion here.

Thankfully it's not difficult to fix temporarily and solving the problem involves closing down Eclipse  and running the following command in a new terminal window:

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

Then enter your password and a text file will open. Simply replace the file contents with:

Version=1.0
Name=Eclipse
Exec=/opt/eclipse/eclipse
Exec=env UBUNTU_MENUPROXY= eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Type=Application
Categories=IDE;Development

You may need to remove the line Exec=/opt/eclipse/eclipse if you installed Eclipse from the Ubuntu Software Centre or you may need to modify the file path if you installed Eclipse in a different directory to match your Eclipse executable directory path.

Problem solved.

This issue affects a lot of Android Developers who no doubt have wrestled with Eclipse ADT/Ubuntu update related issues before. It's definately cause for Ubuntu users to watch Android Studio ALPHA/BETA version development more closely or go over to Studio now if they haven't already.

4 thoughts on “Fix the Ubuntu 13.10 update Eclipse menu problem

  1. Thanks for post. I did what you wrote but now only “sudo eclipse” works OK. If I start eclipse as regular user I still don’t have working menu

    1. Thanks for the info, I hope it helps someone with the same problem. At least it works now, thanks for sharing.

      This could be a permissions issue, perhaps your workspace is owned by root? Perhaps you had to mess around with permissions before for whatever reason and this is the result. Try sudo chown -R [youruser]:[yourgroup] [dir/workspace]

      There are a number of reasons why Eclipse is particularly vulnerable to permissions issues, especially if you have Android ADT as updating the SDK must be done as root etc. These problems are a result of using the software center to set up Eclipse.

Leave a Reply