Afterthought: maybe provide an hyperlink to the previous spm thread? It contained info on how to flesh out the resulting file, add a top and a bottom, etc._________________musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence)

I found a way to integrate all the *.desktop files into one aemenu.
jwm-menu-create has the same problem. The solution is:

With simple additions at the top and the bottom of your file, we can create a /tmp/applications dir and send all the *.desktop files to it, then use the spm2 process in that directory. The result is more complete, since some applications store their *.desktop files in /usr/local/share/applications. When all is finished, we remove the files and the temporary directory.

This will do for the time being. There is another depot of *.desktop files, at /root/.local/share/applications/wine/babebibobu , that is created by wine. But another strategy would be needed to incorporate those, because wine processes them differently than linux.

So here the modification in plain bash format for your review. I called it spm2-mod1 and did a few changes for the recall of the program to that effect (when you ask if spm2 should recrreate the menu).

Usage: To use spm2-mod1, assign a keyboard-shortcut to 'spm2-mod1 -m'. How this is done
depends on your windowmanager. The menu will be created on first run
(it will be written to /tmp, so it will be rebuild on every systemstart).
You can also recreate the menu with the so-named menu-option.

To include your own 'Favorites', create the file /root/.config/spm2/favorites
and add your favorites. A sample file could be found at /usr/share/doc/spm2

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum