Linux 下 PyCharm 安装完成之后,并不会主动生成快捷方式,需要手动创建应用的桌面快捷方式,该方法适用于绝大部分的 Linux 系统。

1. PyCharm

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/PyCharm.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=PyCharm
  4. GenericName=PyCharm2021
  5. Comment=PyCharm:The Python IDE
  6. Exec="/home/yumingmin/softwares/pycharm-2021.1.1/bin/pycharm.sh"
  7. Icon=/home/yumingmin/softwares/pycharm-2021.1.1/bin/pycharm.png
  8. Terminal=pycharm
  9. Categories=JetBrains

2. IDEA

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/IDEA.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=IntelliJ IDEA
  4. GenericName=IDEA2021
  5. Comment=IntelliJ IDEA:The Java IDE
  6. Exec="/home/yumingmin/softwares/idea-IU-211.7142.45/bin/idea.sh"
  7. Icon=/home/yumingmin/softwares/idea-IU-211.7142.45/bin/idea.png
  8. Terminal=idea
  9. Categories=JetBrains

3. DataGrip

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/DataGrip.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=DataGrip
  4. GenericName=DataGrip2021
  5. Comment=DataGrip:The SQL IDE
  6. Exec="/home/yumingmin/softwares/DataGrip-2021.1.1/bin/datagrip.sh"
  7. Icon=/home/yumingmin/softwares/DataGrip-2021.1.1/bin/datagrip.png
  8. Terminal=datagrip
  9. Categories=JetBrains

4. GoLand

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/GoLand.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=GoLand
  4. GenericName=GoLand2021
  5. Comment=GoLand:The Go IDE
  6. Exec="/home/yumingmin/softwares/GoLand-2021.1.1/bin/goland.sh"
  7. Icon=/home/yumingmin/softwares/GoLand-2021.1.1/bin/goland.png
  8. Terminal=goland
  9. Categories=JetBrains

5. PhpStorm

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/PhpStorm.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=PhpStorm
  4. GenericName=PhpStorm2021
  5. Comment=PhpStorm:The Php IDE
  6. Exec="/home/yumingmin/softwares/PhpStorm-211.7142.44/bin/phpstorm.sh"
  7. Icon=/home/yumingmin/softwares/PhpStorm-211.7142.44/bin/phpstorm.png
  8. Terminal=phpstorm
  9. Categories=JetBrains

6. WebStorm

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/WebStorm.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=WebStorm
  4. GenericName=WebStorm2021
  5. Comment=WebStorm:The Web IDE
  6. Exec="/home/yumingmin/softwares/WebStorm-211.7142.46/bin/webstorm.sh"
  7. Icon=/home/yumingmin/softwares/WebStorm-211.7142.46/bin/webstorm.png
  8. Terminal=webstorm
  9. Categories=JetBrains

7. Clion

终端中输入以下命令:

  1. $ sudo nvim /usr/share/applications/Clion.desktop

添加如下内容:

  1. [Desktop Entry]
  2. Type=Application
  3. Name=Clion
  4. GenericName=Clion2021
  5. Comment=Clion:The C IDE
  6. Exec="/home/yumingmin/softwares/clion-2021.1.1/bin/clion.sh"
  7. Icon=/home/yumingmin/softwares/clion-2021.1.1/bin/clion.png
  8. Terminal=clion
  9. Categories=JetBrains