TOPIC

磷光与烟火逆流

一个敲代码的程序猿

Ubuntu20.04 源码安装完应用 如何将应用程序添加到启动器

进入应用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不重要

posted @ 2021-10-31 19:39  Jacobyang  阅读(1517)  评论(0编辑  收藏  举报