Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
85
rated 0 times [  85] [ 0]  / answers: 1 / hits: 101458  / 2 Years ago, thu, february 10, 2022, 5:18:42

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.


More From » eclipse

 Answers
6

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.



  1. Open your eclipse.desktop file:


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



(If you can't find it in this path, try in ~/.local/share/applications/eclipse.desktop. Otherwise, you could have to find yours using locate command).



  1. Replace the Exec= line with this:


     Exec=env UBUNTU_MENUPROXY= eclipse



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:


    [Desktop Entry] 
Type=Application
Name=Eclipse
Icon=eclipse
Exec=env UBUNTU_MENUPROXY= eclipse
Terminal=false
Categories=Development;IDE;Java;


  1. 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:


UBUNTU_MENUPROXY= eclipse

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


alias eclipse = 'UBUNTU_MENUPROXY= eclipse'

and the command eclipse will work fine.




Sources:



[#28936] Friday, February 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eanda

Total Points: 439
Total Questions: 116
Total Answers: 105

Location: Armenia
Member since Sat, Dec 31, 2022
1 Year ago
eanda questions
Tue, Nov 22, 22, 15:24, 1 Year ago
Sat, Oct 16, 21, 23:48, 3 Years ago
Sun, Jul 3, 22, 09:38, 2 Years ago
Thu, Feb 3, 22, 14:33, 2 Years ago
;