Uncategorized
Imal Perera  

Add a Shell Script to Ubuntu Launcher

Spread the love

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. 

  1. Go to /usr/share/applications/
  2. Create a .desktop file which will be the launcher short cut ( example: xampp.desktop )
  3. Open the file and copy-paste the below code
  4. 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 🙂

Leave A Comment