[Ubuntu-zh] 关于在Ubuntu Unity Launcher上添加应用程序快捷方式的问题

Yongbiao Long longyongbiao在gmail.com
星期日 三月 25 04:57:16 UTC 2012


2012/3/23 李建 <002lijian在gmail.com>:
> .desktop 文件应写些什么,能给个样本吗

Hi, 李健  .desktop 文件在 /usr/share/applications/ 下有一大把, 其写法在 Desktop
Entry Specification[1] 里定义了

Introduction
"Both the KDE and GNOME desktop environments have adopted a similar
format for "desktop entries", or configuration files describing how a
particular program is to be launched, how it appears in menus, etc. It
is to the larger community's benefit that a unified standard be agreed
upon by all parties such that interoperation between the two
environments, and indeed any additional environments that implement
the specification, becomes simpler. "

[1] http://standards.freedesktop.org/desktop-entry-spec/latest/index.html

-- 
Best Regards



关于邮件列表 ubuntu-zh 的更多信息