You are not logged in.
How to add an application in the cinnamon menu to a specific category manually?
I add file ~/.local/share/applications/sublime_text.desktop
[Desktop Entry]
Type=Application
Name=Sublime Text
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text/sublime_text
Icon=cinnamon-panel-launcher
Terminal=falseBut in the menu it is not displayed.
I made through the menu editor cinnamon menu item:
cat ~/.local/share/applications/alacarte-made-455e81ce-202e-11e9-991d-94b86dfae763.desktop
[Desktop Entry]
Name=sd
Exec=/bin/cat
Comment=ww
Terminal=false
Icon=cinnamon-panel-launcher
Type=ApplicationThere is no category here, but why does it appear in the category where I added it? Your documentation does not explain this.
Last edited by smokeEveryday (2019-01-24 23:45:10)
Offline
Desktop entries are part of the freedesktop.org specifications. Categories are covered here. Check appendix A for the standard category names. You could check an existing .desktop file in /usr/share/applications to see what they use as well.
I don't know why the one you created using the GUI shows up in a category even though the desktop file doesn't mention one. It seems like cinnamon is doing something non-standard to achieve this.
Offline