cd /usr/share/applications
vim Pycharm.desktop
添加如下
#!/usr/bin/env xdj-open [Desktop Entry] Encoding=UTF-8 Name=Pycharm Comment=pycharm-2019.1.3 Exec=/root/下载/pycharm-2019.1.3/bin/pycharm.sh Icon=/root/下载/pycharm-2019.1.3/bin/pycharm.png Terminal=false StartupNotify=true Type=Application Categories=Application;