ubuntu add application to launcher

Posted 余文涛的烂笔记

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu add application to launcher相关的知识,希望对你有一定的参考价值。

eg.

add sublime text to launcher so as to be found by launcher, docky, etc.

add a file

sudo gedit /usr/share/applications/sublime.desktop

 

set content as follows:

[Desktop Entry]
Name=SublimeText
Type=Application
Exec=/opt/SublimeText2/sublime_text 
Terminal=false
Icon=/opt/SublimeText2/Icon/48x48/sublime_text.png
Comment=Sublime Text Editor
NoDisplay=false
Categories=Development;IDE
Name[en]=sublime text

 

以上是关于ubuntu add application to launcher的主要内容,如果未能解决你的问题,请参考以下文章

Programmatically add an application to Windows Firewall

add application window with unknown token XXX Unable to add window;is your activity is running?(代码片段

add application window with unknown token XXX Unable to add window;is your activity is running?(代码片段

Ubuntu 添加删除用户 How to Add and Delete Users on Ubuntu 16.04

Ubuntu问题:E45: 'readonly' option is set (add ! to override)错误解决

ubuntu 19.10 上 git 访问 ssh-add 的无效密钥格式