Launch a program from the menu Ubuntu

Rather than creating bash scripts to run programs from terminal, there is an easier way which is adding a Launcher to the menu in Ubuntu. Here is how to do it. First, change the directory to:

cd ~/.local/share/applications

The next step is to open a nano editor:

nano softwareNameYouWantToAdd.desktop

Last step is to add the following to the file:

[Desktop Entry]
Type=Application
Terminal=false
Icon=PathToIconImage
Exec=/path/to/your/desired/software
Name=NameOfTheIcon