Skip to content

Instantly share code, notes, and snippets.

@rischanlab
Created May 20, 2014 06:27
Show Gist options
  • Save rischanlab/168f685b029afef9c21a to your computer and use it in GitHub Desktop.
Save rischanlab/168f685b029afef9c21a to your computer and use it in GitHub Desktop.
Create Shortcut application in Desktop Ubuntu
#in this case I use matlab application in Ubuntu
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
#download image for matlab
#go to this path
/usr/share/applications/matlab.desktop
#Insert this content to the matlab.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/MATLAB/R2012a/bin/matlab -desktop
Name=MATLAB
Icon=/usr/share/icons/matlab.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment