終端輸入:sudo gedit /usr/share/applications/Pycharm.desktop
粘貼模板:
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm2019
Comment=Pycharm2019:The Python IDE
Exec=sh /home/jerome/Documents/pycharm-2019.2.2/bin/pycharm.sh
Icon=/home/jerome/Documents/pycharm-2019.2.2/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;
點(diǎn)擊保存