Create an application launcher

For example:

Create a launcher to open Spyder

edit spyder.desktop

gedit ~/.local/share/applications/spyder.desktop

edit the .desktop content

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Exec=/home/hunglin/anaconda3/bin/spyder # your command
Name=Spyder # display on applicaion list
Comment=Spyder # display near the icon
Icon=/home/hunglin/Pictures/Icons/spyder-icon # input picture path

save the file

change its permission to be executable

chmod a+x ~/.local/share/applications/spyder.desktop

Then, the launcher will show on Application list

https://www.unixmen.com/create-a-launcher-in-ubuntu-using-bash/