如何将 shell 文件的启动器添加到 Gnome 收藏夹?

如何将 shell 文件的启动器添加到 Gnome 收藏夹?

我经常使用的程序基于 Java,并以 shell 文件启动。我想将此程序/shell 文件的启动器添加到 Ubuntu 15.10 上的 Gnome 桌面的收藏夹菜单中。

我怎样才能做到这一点?

答案1

这是另一个例子。不过没有 Charles 的链接那么全面 -http://ubuntuhandbook.org/index.php/2013/09/install-light-table-ide-create-launcher-ubuntu/

sudo apt-get install gnome-panel --no-install-recommends
sudo gnome-desktop-item-edit /usr/share/applications/ --create-new


注意:下面的示例使用 /opt/Appname 作为应用程序目录
姓名:应用程序名称
命令:/opt/应用程序名称/应用程序名称
选择图标例如 /opt/Appname/core/img/lticon.png

相关内容