安装版本pycharm-2019.1.3
安装路径:/opt/pycharm-2019.1.3/
vim /usr/share/applications/pycharm.desktop
#!/usr/bin/env xdg-open [Desktop Entry] Encoding=UTF-8 Name=Pycharm Comment=pycharm-2019.1.3 Exec=/opt/pycharm-2019.1.3/bin/pycharm.sh Icon=/opt/pycharm-2019.1.3/bin/pycharm.png Terminal=false StartupNotify=true Type=Application Categories=Application;
# 给文件赋予执行权限 chmod a+x /usr/share/applications/pycharm.desktop