I've consulted the following articles and many more, but still don't understand one question --
What menu hierarchy do freedesktop (or Ubuntu or any modern distro) use? Where can I get a list of such menu hierarchy? E.g., the "Accessories", "Internet", "Editor", "System" etc that type of things, and what corresponding Categories it is accepting from the .desktop file.
Found it,
Under
/etc/xdg/menus/
(under Debian/Ubuntu).E.g.,
/etc/xdg/menus/gnome-applications.menu
.