[other] deepin创建anacona桌面图标
Tofloor
poster avatar
Angus
deepin
2023-10-27 19:05
Author

问题描述:

新建文本录入以下脚本

[Destop Entry]
Categories=GNOME;Application;Development;
Comment=anaconda-navigator
Encoding=UTF-8
Exec=/home/Angus/anaconda3/bin/anaconda-navigator
Icon=/home/Angus/Pictures/icon/anaconda.png
Name=anaconda
StartupNotify=true
Terminal=false
Type=Application
X-Deepin-Vendor=user-custom

命令进入Desktop目录执行 mv 新建文本.txt anconda_navigator.desktop

然后执行 sudo cp anaconda_navigator.desktop /usr/share/applications

再邮件进入图标进行属性设置为可执行程序

之后双击桌面图标无反应,无法启动应用,这个是什么原因呢

Reply Favorite View the author
All Replies
把一切操作变成GUI
deepin
Backbone of ecological co-construction group
2023-10-28 08:37
#1

你有试过直接把文本粘贴到打开的.desktop文件下吗,并且你右下角的编码是什么?

Reply View the author