Ubuntu quickly opens Pycharm

There are two main methods

1. Create a desktop shortcut

There is no need to create any files to paste templates at all

  1. open pycharm

  1. Select "Tools" -> "create Desktop Entry" in the top menu bar

  1. click OK

  1. Open all application interfaces (the shortcut key is usually win+A), and find the icon of Pycharm in the application interface

  1. Right click to add to favorites

2. Open the terminal and use shortcut commands

  1. Enter the bin folder of the pycharm installation directory, copy the file path of pycharm.sh, such as

/media/xxx/data/application/pycharm/bin/pycharm.sh
  1. edit configuration file

vim ~/.bashrc
  1. Press shift+g to the last line, then press i to enter insert mode, enter

alias pycharm="sh /media/xxx/data/application/pycharm/bin/pycharm.sh"

sh followed by the file path of pycharm.sh

  1. Press ESC, then :wq to exit

  1. update configuration file

source ~/.bashrc

Guess you like

Origin blog.csdn.net/a545454669/article/details/129601258