在终端输入
sudo gedit ~/.local/share/applications/jetbrains-pycharm-ce.desktop
会出现
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Welcome to PyCharm
Icon=jetbrains-pycharm-ce.png
Path=/home/hao/pycharm-community-2018.3.4/bin
Exec=/home/hao/pycharm-community-2018.3.4/jre64/bin/java -classpath /home/hao/pycharm-community-2018.3.4/lib/bootstrap.jar:/home/hao/pycharm-community-2018.3.4/lib/extensions.jar:/home/hao/pycharm-community-2018.3.4/lib/util.jar:/home/hao/pycharm-community-2018.3.4/lib/jdom.jar:/home/hao/pycharm-community-2018.3.4/lib/log4j.jar:/home/hao/pycharm-community-2018.3.4/lib/trove4j.jar:/home/hao/pycharm-community-2018.3.4/lib/jna.jar -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.d