Method 1:
When Pycharm runs for the first time, it will ask you if you want to create a shortcut
.
Use the mouse to click the file system and enter
/usr/share/applications
to see if there is an icon of PyCharm Community Edition. If there is an icon,
open the terminal, cd /usr/share/applications
and then ls -al (list the current directory in detail). Details of all projects under)
You should find Pycharm.desktop~, this project, you can't find it because the name is abnormal, there is an extra tail
sudo mv Pycharm.desktop~ Pycharm.desktop Like
this, mv can also be for renaming (you move the file to the file itself)
so you can find it
The reason is that I created a Desktop file with the temporary file with the tail. Unfortunately, although it can be searched, it cannot be started.
It's weird that Pycharm produces an icon file, but it doesn't exist in the application.
Method 2:
If you did not create a shortcut at the beginning
, create a shortcut yourself, the method is as follows
Terminal input: sudo gedit /usr/share/applications/Pycharm.desktop
Paste template:
[Desktop Entry]
Type=Application
Name=Pycharm
GenericName=Pycharm3
Comment=Pycharm3:The Python IDE
Exec=sh /opt/pycharm/bin/pycharm. sh (the underlined part is the address where you store it)
Icon= /opt/pycharm/bin/pycharm.png (the underlined part is the picture inside Pycharm, compare it up and down)
Terminal=pycharm
Categories=Pycharm;