码迷,mamicode.com
首页 > 系统相关 > 详细

解决ubuntu14.04下eclipse 不能显示菜单的问题

时间:2014-11-06 15:11:31      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:des   style   io   color   ar   os   for   sp   on   

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

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! :)

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

Hope this helps.


解决ubuntu14.04下eclipse 不能显示菜单的问题

标签:des   style   io   color   ar   os   for   sp   on   

原文地址:http://my.oschina.net/u/219482/blog/341463

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!