升级到 Ubuntu 13.10 后,Eclipse 菜单不显示 [英] Eclipse menus don't show up after upgrading to Ubuntu 13.10

查看:20
本文介绍了升级到 Ubuntu 13.10 后,Eclipse 菜单不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到 Ubuntu 13.10 后,当我单击 Eclipse 中的任何菜单(帮助、窗口、运行)时,它们不显示.只有菜单存根和选择是可见的.

After upgrading to Ubuntu 13.10, when I click on any menus in Eclipse (Help, Window, Run) they don’t show up. Only menu stubs and selection are visible.

我尝试安装新的 4.3 并且发生了同样的事情.还有其他人遇到这种行为吗?

I tried installing fresh 4.3 and the same thing is happening. Is anyone else experiencing this behavior?

推荐答案

同样的问题已在 askubuntu 上得到解答:

The same question has been answered on askubuntu:

Eclipse 菜单被切断或不显示

我可能已经为您的问题找到了可能的解决方案.我遇到了与您描述的相同的问题,Ubuntu 13.10 64 位 Unity,Eclipse 4.3.0,菜单不可见.

I might have found a possible solution for your problem. I have experienced the same issue as you have described, Ubuntu 13.10 64-bit Unity, Eclipse 4.3.0, menus were not visible.

所以我意识到如果我澄清自己可能会有所帮助,Eclipse 的桌面快捷方式文件将包含如下内容:

So I realise that it might be helpful if I clarify myself, the desktop shortcut file for Eclipse would contain something like this:

[Desktop Entry]
Version=4.3.0
Name=Eclipse
Comment=IDE for all seasons
#Exec=/home/USERNAME/Dokument/eclipse/eclipse
Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse
Icon=/home/USERNAME/Dokument/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application

Exec=env UBUNTU_MENUPROXY=0/home/USERNAME/Dokument/eclipse/eclipse,在我指出的帖子中引用的部分,是使菜单可见的部分,等等!:)

The row Exec=env UBUNTU_MENUPROXY=0 /home/USERNAME/Dokument/eclipse/eclipse, part referenced in the post I pointed to, is the one that makes menus visible, et voila! :)

在我的例子中,这个文件 (eclipse.desktop) 位于 /usr/share/applications/

In my case this file (eclipse.desktop) resides in /usr/share/applications/

希望这会有所帮助.

这篇关于升级到 Ubuntu 13.10 后,Eclipse 菜单不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆