No matter if I place the launchers I’ve created in the two directories ~/.local/share/applications or /usr/share/applications, they do not appear in the sheduled category of the main menu.
However, they can be found using the menu’s application search box.
What bothers me most is that the problem doesn’t occur on other distributions, such as Zorin 17.2.
If anyone has any ideas, I’d love to hear from you.
Thanks in advance.
I’ve several launchers from my own executables and I see them in the (more or less) appropriate category into main menu; since some time I’m using menu editor to do this, instead of creating .desktop files by hand and menu editor categorizes them, you just need to click on group in which you want to store your application and menu editor categorizes it.
Hoping to have correctly understood what you meant.
Many thanks for your reply, Sil.
Yes, you understood perfectly what I meant.
In fact, I’m trying to create a script to automatically install a program and its launcher.
I’ve checked the application launchers that appear in System Tools with the menu editor and I’ve used them as a model for the choice of categories.
I even tried to create a launcher with the editor. But here again, it doesn’t appear in the right place, even though it’s accessible via the menu’s application search box.
ok, thanks. I’ve searched one of my apps I’ve inserted in menu via menu editor: is stored in /home/user/.gnome
as menulibre-diffdate.desktop (diffdate is my app’s name and is useful to convert to something readable that crap named microsoft timestamp ).
I’ve edited it with vi and here’s the desktop file with app categorization:
Thanks, Sil.
Our two launchers are similar two lines apart, and mine doesn’t display:
[Desktop Entry]
Version=1.1
Type=Application
Name=Nala Routine
Comment=Clean and update your system
Icon=gcleaner
Exec=/usr/local/bin/routine-nala.sh
Terminal=true
Actions=
Categories=Utility;
Terminal=true has nothing to do with it.
As for the OnlyShowIn=Old line, if I’m to believe this page, it must correspond to the launcher being placed in the ~/.gnome/apps directory.
For me, with this line, the launcher no longer even appears with the menu search box, which is consistent with the explanations on the page above.
I have of course tried to place the launcher in the ~/.gnome/apps directory with OnlyShowIn=Old line, but that doesn’t work either.
In fact, UB seems to only display the launchers of applications that are declared not to run in a terminal in the Show Applications menu.
Why Zorin accepts this without complaint is another story, but of less interest…