Add your own menu bar to the main menu of Gnomedesktop

Source: Internet
Author: User
Add your menu bar-general Linux technology-Linux technology and application information to the main menu of Gnomedesktop. For more information, see the following. Let your custom sub-menu sit at the same level as the system menu:

1. Open the/etc/xdg/menus/applications. menu file in a text editor.
2. Add the following content:


EsITo
Esito. directory



EsITo





3. Open a file named. directory in/usr/share/desktop-directories/in a text editor and save it as esito. directory.
4. Modify the esito. directory file:
[Desktop Entry]
Name = esITo
Name [zh_CN] = esITo custom menu
Comment = esITo menu
Comment [zh_CN] = esITo custom menu
Iconstmemacs.png
Type = Directory

Note: Name = esITo must be an English Name.
Name [zh_CN] = esITo Chinese Name unless you use English
Comment = esITo menu
Comment [zh_CN] = esITo custom menu Chinese comments
The Icon=emacs.png menu icon is selected in the/usr/share/pixmaps directory.
Type = Directory indicates that the folder is required.
5. Open a shortcut in the/usr/share/applications directory in a text editor and change the Categories to Categories = esITo.
6. Restart X System (RedHat \ Fedora Core basically needs to restart Linux)
7. esITo is my own name, which can be any English logo.
8. If you have not set any shortcuts to your menu items, your menu items will not be displayed!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.