添加spyder(通过PIP安装)的图标到收藏夹

本操作是在Ubuntu 20.04 下

cd /usr/share/applications
sudo gedit spyder.desktop
 
然后把下列复制到gedit中
 
[Desktop Entry]
Encoding=UTF-8
Name=Spyder3
Comment=The Python IDE
Exec=/usr/local/bin/spyder  ''spyder 路径
Icon=/home/你的用户名/spyder3.png  ‘’下载图片的路径
StartupNotify=True
Terminal=False
Categories=Development;Science;IDE;Qt;
Type=Application
StartupNotify=True
MimeType=text/x-python;
X-AppStream-Ignore=True

然后搜索spyder