-
sudo vim /usr/share/applications/YOUR-APP.desktop
-
copy paste the following lines
[Desktop Entry]
Encoding=UTF-8
Exec=/path/to/your/application
Icon=/path/to/application/icon
Type=Application
Terminal=false
Comment=COMMENT-FOR-APPLICATION
Name=APPLICATION-NAME
GenericName=APPLICATION-DESCRIPTION
StartupNotify=false
Categories=Development;IDE;
Description of the lines:
[Desktop Entry] indicates that this file is a *.desktop file
Encoding= Encoding used
Exec= Path of a binary or script used to start the program
Icon= Path to the icon for the entry
Type= Application - desktop file is starting an application
Terminal= False - the program will not run in a terminal
Comment= Comment about the app
Name= Displayed name in the menu
GenericName= Description of the entry
StartupNotify= False - Startup notification is turned off
Categories - specifies the categories in which the entry will be placed in the menu (several categories are specified with a semicolon between them, e.g. 'Game;Education')