Last active
January 21, 2022 13:58
-
-
Save aitseitz/5ddbdcdef827703e618bebeb04554da0 to your computer and use it in GitHub Desktop.
add-menuitem.sh - Generate Linux Mint Startmenu entry with Icon
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add-menuitem.sh - Generate Linux Mint Startmenu entry
This is an example Script of how to generate a startmenu entry for VisualVM (latest version).
The Script can be modified to the application you want to see in your Linux (Mint) startmenu.
Installation Instruction
Place the

add-menuitem.shand the desiredicon.pnginto the folder where you start your application.In the example with visualVM latest it should look like this:
Modify the Application Variables to your needs
Give the Script execution rights and execute it the terminal
Voilá:

The new Startmenu entry to your application can be easily found with the application name or the keywords you've choosen with the variable
APP_KEYWORDS=visual,jmx,Additional notice:
The .desktop entry file you've created with the script can be found in the following folder:
/.local/share/applications/and the icon is placed in
/.local/share/icons/hicolor/128x128/appsin case you want to modify it manually.
Sources: