There are two main methods
1. Create a desktop shortcut
There is no need to create any files to paste templates at all
open pycharm
Select "Tools" -> "create Desktop Entry" in the top menu bar
click OK
Open all application interfaces (the shortcut key is usually win+A), and find the icon of Pycharm in the application interface
Right click to add to favorites
2. Open the terminal and use shortcut commands
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
edit configuration file
vim ~/.bashrc
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
Press ESC, then :wq to exit
update configuration file
source ~/.bashrc