From c3ff685e1038769952042fe9b99ad04704373ea1 Mon Sep 17 00:00:00 2001 From: IPKM Admin Date: Sun, 11 Feb 2024 16:35:18 +0100 Subject: [PATCH] added dekstop shortcut with proper icons --- liebchen.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/liebchen.yml b/liebchen.yml index 10a03c1..603dab5 100644 --- a/liebchen.yml +++ b/liebchen.yml @@ -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