centos7桌面没有计算机图标,centos7下创建桌面图标的方法

时间:2025-04-02 07:54:03

一.intellijidea

创建文件

#!/usr/bin/env xdg-open

[Desktop Entry]

Name=IdeaIU

Comment=IdeaIU

Exec=env JAVA_HOME=/root/jdk1.8.0_121 /root/idea-IC-163.12024.16/bin/

Icon=/root/idea-IC-163.12024.16/bin/

Type=Application

Categories=Application;Developer;

//找到对应的额地质和图标

创建成功后托过去

二.matlab

#!/usr/bin/env xdg-open [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=/usr/local/MATLAB/R2014a/toolbox/nnet/nnresource/images/ StartupNotify=true; Type=Application Terminal=false Categories=Application;Developer;Matlab;