There is no shortcut solution after installing pycharm on Ubuntu 16.04

1. Create .desktop file

Type in the terminal

sudo gedit /usr/share/applications/pycharm.desktop

2. Edit the pycharm.desktop file

Copy the following content in the created pycharm.desktop file

[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /home/TanaStudy/下载/pycharm-2020.3.2/bin/pycharm.sh
Icon=/home/TanaStudy/下载/pycharm-2020.3.2/bin/pycharm.png
Terminal=pycharm
Categories=Pycharm;

Note :
Replace the path corresponding to Exec and Icon with your own path. The .sh file is the startup item of pycharm, and the .png is the icon file (you can also replace the icon file with your favorite icon). After pycharm is installed, these two files are automatically generated in the /pycharm-2020.3.2/bin/ directory.

3. Finally search for pycharm to start it

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43901865/article/details/112569230