First, create a new file on the desktop
we /usr/share/applications/Clion.desktop
Note: You can create in other places, mv go, because there will be a permissions issue
Second, in the file, write the following
[Desktop Entry]
Encoding=UTF-8
Name=Clion
Comment=Clion IDE for C/C++
Exec=/usr/clion-2019.3.4/bin/clion.sh %u
Icon=/usr/clion-2019.3.4/bin/clion.svg
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
Third, given executable permissions to the file
chmod a+x /usr/share/applications/eclipse.desktop
Then you can in the Application, programming Clion see the shortcut icon
You can also copy to your desktop
Four, but found it all done after installation and operation CLion setting of the final step will ask me if I want to create a shortcut ,,, Oh da