This page is intended to explain to other ArcheOS developers (or who’s interested in) the ArcheOS menu.
The ArcheOS menu is a submenu with the ArcheOS Linux title into XFCE standard menu that provides access to virtually every important application installed in ArcheOS (at least, the graphical ones). Due to the nature of the XDG specifications, the ArcheOS menu is merged with the default one. This means that applications could appear in different menus (eg. the Scribus application can be under ArcheOS Linux -> Publishing applications and also under Office).
The ArcheOS menu is designed as possible following the freedesktop.org guidelines. This means that it should work quite and appear quite the same way on all desktop environments that supports the XDG standard.
The menu is basically copied from the kali linux one, with minor modifications.
This section is common to all “simple” archeos packages.
The archeos menu package contains all menu modifications, required application files and some icons.
In the desktop-directories/ folder a .directory file contains all information about the each submenu (including the main, ArcheOS Linux menu). These files are formatted using the same syntax as the .desktop files, using the Type=Directory directive. An example of a .directory file:
[Desktop Entry] Name=GIS Applications Type=Directory Icon=archeos-menu-gis.png
Note that the Name= directive defines the name that will appear on the actual menu, the Icon= must point to an existing icon into /usr/share/icons/ (see the dedicated section about icons). These files will be copied during package build and installation into /usr/share/desktop-directories.
In the desktop-files/ folder each .desktop file contains information about the entry that will populate the menu. Each application that should to go into the menu must have a .destkop file similar to this:
[Desktop Entry] Version=1.0 Type=Application Name=LyX Document Processor GenericName=Document Processor Comment=High level LaTeX frontend Exec=lyx %F TryExec=lyx Icon=lyx StartupNotify=false StartupWMClass=Lyx Terminal=false Categories=Office;WordProcessor;Qt;11-publishing; X-ArcheOS-Package=lyx MimeType=text/x-lyx;application/x-lyx;
Most times this can be find into /usr/share/applications/ for packages that comes with Debian and external packages that provides such files. In order to create the ArcheOS menu, these files has been copied into the desktop-files/ folder and modified to reflect the ArcheOS menu structure.
Obviously other .desktop entries can be very different from the example above, with more or fewer lines, but some information are mandatory:
In the menus/ folder the XML layout of the menu is saved. This will be installed by the package into /etc/xdg/menus/merged-applications/. The XML reflects first the general structure (<Layout> .. </Layout> tags). Then starts to list all directories with the relative name (overridden by the corresponding .directory file) and the category that will be included. The <Category> .. </Category> must match the Categories= directive in the .desktop files (see above). Multiple categories can be listed in one submenu and if needed the <Filename> .. </Filename> can be used instead of categories to point to an absolute .desktop file path (not recommended).
See the freedesktop.org guidelines for more information.
Listed below other files and direcotries in the package
For each archeos application that need to go into the “ArcheOS” submenu, the following items must be created:
To add a new submenu:
Enter search terms or a module, class or function name.