Ubuntu: Fixing Desktop icons and Menu items for MATLAB

MATLAB doesn’t automatically setup itself in the menus of Ubuntu. Create a start/activities menu icon for Matlab or other programs by:

  1. download Matlab icon
    wget https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O ~/.local/share/icons/matlab.png
    
  2. create ~/.local/share/applications/matlab.desktop
    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Type=Application
    Icon=matlab.png
    Name=MATLAB
    Exec=matlab -desktop
    Categories=Development;
    

reference

Categories: ,

Updated:

Leave a Comment