进入应用bin目录
找到app.sh 和 app.png
在/usr/share/applications 目录下创建app快捷方式
sudo gedit Goland.desktop
//若无gedit 请自行安装
然后弹出输入框,在输入框内输入(以我安装的Goland为例)
[Desktop Entry]
Version=1.0
Name=Goland
Exec=/opt/GoLand-2021.1.3/bin/goland.sh
Terminal=false
Icon=/opt/GoLand-2021.1.3/bin/goland.png
Type=Application
Categories=Development
只需要改动Name,Exec,Icon 三处
点击Save
关闭输入框
出现了
(gedit:7521): Tepl-WARNING **: 19:20:00.980: GVfs metadata is not supported. Fallback to TeplMetadataManager. Either GVfs is not correctly installed or GVfs metadata are not supported on this platform. In the latter case, you should configure Tepl with --disable-gvfs-metadata.
好吧warning不重要