added dekstop shortcut with proper icons

This commit is contained in:
IPKM Admin 2024-02-11 16:35:18 +01:00
parent b332fec176
commit c3ff685e10

View File

@ -140,4 +140,20 @@
line: "PATH=$PATH:/opt/matlab/R2023b/bin"
when: check.found == 0
- name: Add MATLAB desktop entry
copy:
dest: /usr/share/applications/matlab.desktop
content: |
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/matlab/R2023b/bin/matlab -desktop
Name=MATLAB
Icon=/opt/matlab/R2023b/bin/glnxa64/cef_resources/matlab_icon.png
Categories=Development;Math;Science
Comment=Scientific computing environment
Comment[zh_CN] = 科学计算环境
StartupNotify=true
StartupWMClass=com-mathworks-util-PostVMInit