在桌面建立一个文件xxx.desktop,然后按下面格式修改信息即可。
路径在/home/username/Desktop
如:pycharm.desktop
[Desktop Entry]
Comment=pycharm,a python IDE
Comment[zh_CN]=pycharm,a python IDE
Exec=sh /opt/pycharm-community-2019.3.3/bin/pycharm.sh
GenericName=pycharm
GenericName[zh_CN]=pycharm
MimeType=
Name=pycharm
Name[zh_CN]=pycharm
StartupNotify=false
Terminal=false
Type=Application
Categories=Program;Qt;
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Icon=/opt/pycharm-community-2019.3.3/bin/pycharm.png
InitialPreference=3
StartupWMClass=et