Add a Shell Script to Ubuntu Launcher
We Often install software to our ubuntu computer through the terminal and most of the time those programs do not provide an easy GUI way to run them other than running the shell command, so let’s look at how we can add a particular script to the launcher as a shortcut icon.
- Go to /usr/share/applications/
- Create a .desktop file which will be the launcher short cut ( example: xampp.desktop )
- Open the file and copy-paste the below code
- That is it, but if this does not show up in launcher then copy the .desktop file to ~/.local/share/applications/
[Desktop Entry] Exec=YOUR-COMMAND-GOES-HERE Icon="YOUR-IMAGE-GOES-HERE" Encoding=UTF-8 Terminal=false Name=YOUR-APP-NAME Comment=SOME COMMENT Type=Application
I hope this helped you big time, however, if you find any issue please comment below 🙂