進入應用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不重要