Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Customizing the gnome menus

Rrp-OracleAug 27 2010 — edited Aug 29 2010
I am building a demo environment. I want to use the gnome ui and create menu items like jdeveloper, sqldeveloper, sqlplus etc to make it easier for users to get started. So far I have:

1. create desktop items in ~/.local/share/applications
2. created a new menu ~/.config/menus/demo.menu
3. created a supporting directory entry ~/.local/share/desktop-directories/demo.directory
4. modified ~/.config/menus/applications.menu, which references /etc/xdg/menus/applications.menu and added
<Menu>
<Name>Demo</Name>
<MergeFile>demo.menu</MergeFile>
</Menu>

But when I restart gnome the new menu does not show up under Applications.
I've verified the category (DSSTools. one I made up) in the xxx.desktop files matches the categories in the demo.menu file.
If I add a category like "Internet" to the desktop items they show up on that menu (and work), so I know it is not the jdeveloper.desktop (etc.) file.

I've run out of ideas.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2010
Added on Aug 27 2010
11 comments
2,091 views