Eclipse Menu distorted in Ubuntu-13.10

℡╲_俬逩灬. 提交于 2019-12-13 02:09:29

问题


I have recently installed Ubuntu 13.10 on my Lenovo intel core2 duo 32 bit laptop with 15'' screen. Some days back I downloaded eclipse-standard-kepler-SR1-linux-gtk.tar.gz from the eclipse web site. But after starting eclipse I see the menu distorted.

You can refer the video here : http://youtu.be/fcBHLAlFj4Y


回答1:


You can try the following command:

UBUNTU_MENUPROXY= eclipse (Where eclipse is the path to your eclipse)

For more details check out this link




回答2:


This is a bug in Eclipse 4.3.1. https://bugs.eclipse.org/bugs/show_bug.cgi?id=420438

For the temporary workaround until the bug is fixed, you can refer to https://askubuntu.com/questions/361040/eclipse-menus-are-cut-off-or-dont-show#363237




回答3:


eclipse.desktop fix didn't work for me, then I added the following line to .profile file in my home folder and restarted my computer.

export UBUNTU_MENUPROXY=0

It worked for me... Hope this helps.




回答4:


Edit file eclipse.desktop , it's path ~/.local/share/applications/

View it , like this:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Java - Eclipse 
Icon=eclipse.png
Path=/opt/eclipse
Exec=/opt/eclipse/eclipse
StartupNotify=false
StartupWMClass=Eclipse
OnlyShowIn=Unity;
X-UnityGenerated=true

You should edit the line 8 , between Exec= and your eclipse-install-path , insert env UBUNTU_MENUPROXY=

After that , the eclipse.desktop should like this,

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Java - Eclipse 
Icon=eclipse.png
Path=/opt/eclipse
Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse
StartupNotify=false
StartupWMClass=Eclipse
OnlyShowIn=Unity;
X-UnityGenerated=true

NOTE: Before eclipse-install-path , there is a space. If not , Eclipse could not startup.




回答5:


I had the same problem
In ubuntu 13.10 solved by installing eclipse 3.8 by central programs, then the menu of my eclipse Kepler returned to work integrated with the Unity global menu



来源:https://stackoverflow.com/questions/21532837/eclipse-menu-distorted-in-ubuntu-13-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!