Since the menus in eclipse (kepler) didn't show in Ubuntu 13.10 I followed the tips given in Eclipse menus don't show up after upgrading to Ubuntu 13.10.
After doing this:
Exec=env UBUNTU_MENUPROXY=0 eclipse
...The menus were working fine when I started eclipse from the applications list in ubuntu, but not from the terminal. Writing export UBUNTU_MENUPROXY=0 in the terminal before starting eclipse worked fine, but I had to do this each time I opened a new terminal window.
Then I changed my eclipse.desktop file to include this:
Exec=env UBUNTU_MENUPROXY=0 && eclipse
...And the problem was solved. So I was wondering why the first option didn't work. Or was it not supposed to work when starting from the terminal?