This answer is to create shortcuts for any Applications.
what you have to do is just download a .png file that you want to set as "icon"
and find the path from where you are executing(opening) it from terminal
In my case my my png file is in
and executable "matlab" file is at /
now open any text editor "gedit" and paste below commands and replace respective paths and save the file with
name is anything you want.
[Note: To create launcher on DOC I will recommend you to save
now right click on file goto--->
properties-->permissions and at bottom select
Allow executing file as program
Hurray you did it.
Now just double click and enjoy the shortcut.