Skip to content

Instantly share code, notes, and snippets.

@pankaj28843
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pankaj28843/526f32b69c0655624b87 to your computer and use it in GitHub Desktop.
Save pankaj28843/526f32b69c0655624b87 to your computer and use it in GitHub Desktop.
MATLAB R2014a Desktop Shortcut

Run following command:

curl https://gist.githubusercontent.com/psjinx/526f32b69c0655624b87/raw/setup.sh | sh
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2014a
Comment=Start MATLAB - The Language of Technical Computing
#Uncomment the following line and comment the line after to
#force matlab to use the 32 bits architecture
#Exec=matlab -arch=glnx86 -desktop
Exec=matlab -desktop
Categories=Development;
#Uncomment the following line if you've got several matlab icons in the launcher
#StartupWMClass=com-mathworks-util-PostVMInit
sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png
sudo wget https://gist.githubusercontent.com/psjinx/526f32b69c0655624b87/raw/matlab.desktop -O /usr/share/applications/matlab.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment