Matlab 2014a添加桌面快捷方式(ubuntu14.04 kylin)

参考文章:

  • ubuntu/linux桌面添加快捷方式;
  • Matlab R2012b - Java Exception, Error Starting Desktop

Matlab 2014a添加桌面快捷方式(ubuntu14.04 kylin)

Step1. 进入应用文件夹

cd /usr/share/applications/

Step2. 创建快捷方式文件

sudo gedit matlab.desktop

Step3. 添加文件内容

matlab.desktop文件中添加如下内容:

[Desktop Entry]
Name=Matlab
GenericName=Matlab 2014a
Comment=Matlab:The Language of Technical Computing
Encoding=UTF-8
Exec=/usr/local/MATLAB/R2014a/bin/matlab -desktop
Icon=/media/matlab/matlab.png
StartupNotify=true;
Type=Application
Terminal=false
Categories=Application;Development;Matlab;

Matlab 2014a添加桌面快捷方式(ubuntu14.04 kylin)_第1张图片

Step4. 修改应用程序权限

sudo chmod -R a+rw ~/.matlab/

Matlab 2014a添加桌面快捷方式(ubuntu14.04 kylin)_第2张图片

Step5. 拖至启动器

将快捷方式拖至左侧启动器中,单击图标,程序即可运行。

Matlab 2014a添加桌面快捷方式(ubuntu14.04 kylin)_第3张图片

快捷方式添加完成!


你可能感兴趣的:(linux学习)