Example .menu file structure
<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<!-- EXAMPLE LAYOUT -->
<Menu>
<Name>Menu Name</Name>
<DefaultAppDirs/>
<DefaultDirectoryDirs/>
<!-- Example layout -->
<Menu>
<Name>Category Name</Name>
<Include>
<Category>Category</Category>
<Filename>Launcher-Name.desktop</Filename>
</Include>
</Menu>
</Menu>
Example .desktop file structure
[Desktop Entry]
Version=1.0
Type=Application
Name=Postinstall Manager
Comment=Simple post installation scripts in GUI manager.
Exec=./postinstall
Icon=dots
Path=/bin/postinstall.d
Terminal=false
StartupNotify=false
GenericName=Post Install Manager
Categories=System;Utility;Szmelc;
/usr/share/desktop-directories
\
Example .directory file structure
[Desktop Entry]
Type=Directory
Name=Szmelc
Icon=/usr/local/share/icons/entropy-logo.png