您的位置:首页 > 大数据 > 人工智能

[Ubuntu] Modify the "Main Menu" item panel in Ubuntu

2011-01-17 17:23 225 查看
when using Ubuntu, we can add a "Main Menu" item to the panel



Where to add / modify the menu items? Here we go!

In fact that the items of Main Menu are stored under /usr/share/applications , here we will try to add a laucher of eclipse for example.

sudo vim /usr/share/applications/eclipse.desktop

In the file, add these code:

[Desktop Entry]
Name=Eclipse
Comment=c project manage software
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;GTK;Office;Eclipse;

Then you will see the icon under the Office now!

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐