1.创建图标文件
sudo gedit /usr/share/applications/Pycharm.desktop
2.写入文件
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm
Comment=Pycharm:The Python IDE
Exec="/home/zhangsail/pycharm/bin/pycharm.sh" %f
Icon= /home/zhangsail/pycharm/bin/pycharm.png
Terminal=Pycharm
Categories=Pycharm;
网友评论