[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!
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!
相关文章推荐
- The difference between "ModifyMenu" & "EnableMenuItem"
- Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: Io 异常: The Network Ada
- 在IAR 中出现the stack plug-in failed to set a breakpoint on "main"
- Fix "Unable to lock the administration directory (/var/lib/dpkg/)" in Ubuntu
- ADODB使用excel的"Cannot modify the design of table 'xxxx'. It is in a read-only database"的问题
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010[Sharepoint中添加自定义菜单]
- Show up in the "Open in..." menu on iOS
- ubuntu jenkins 构建报“Failure to find xxx.jar apache.org/maven2 was cached in the local repository"错误
- Exception in thread "main" org.hibernate.TypeMismatchException: Provided id of the wrong type
- Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, do
- Ubuntu更新出现"The system is running in low-graphics mode"错误提示的解决办法
- Exception in thread "main" NoNodeAvailableException[None of the configured nodes are available: [{#t
- Exception in thread "main" java.sql.SQLException: Connections could not be acquired from the underly
- How do I hide a menu item in the actionbar?
- IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误
- Ubuntu——"xxx is not in the sudoers file.This incident will be reported" 错误解决方法
- How to restore the deleted panel in Ubuntu
- azkaban java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "main"