1.终端输入:
sudo gedit /usr/share/applications/Pycharm.desktop
- 复制一下内容:
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /opt/pycharm/bin/pycharm.sh
Icon=/opt/pycharm/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;
注意:
Exec 中配置Pycharm可执行脚本路径
Icon 中配置Pycharm中bin目录下的图标路径