Ericbig 2020-04-27
1.在/usr/share/applications,首先在该目录下创建一个Pycharm.desktop
sudo gedit /usr/share/applications/Pycharm.desktop
2
然后输入以下内容:
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /opt/pycharm-community-2020.1/bin/pycharm.sh
Icon=/opt/pycharm-community-2020.1/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;
其中,Exec 和 Icon 指的是pycharm的执行路径和图标路径。修改完成后保存。