Information consulted:
https://blog.csdn.net/wyd357582564/article/details/72716580
1. First enter the bin file of pycharm, and then run ./pychram.sh
2. The software is now running. Then right-click the pycharm icon in the launch bar. Check "Lock on Launch Bar".
At this point, the icon is locked in the launch bar.