特殊:Badtitle/NS100:GnomeMenuEditingHowTo

来自Ubuntu中文
Oneleaf留言 | 贡献2007年5月24日 (四) 09:58的版本 (新页面: {{From|https://help.ubuntu.com/community/GnomeMenuEditingHowTo}} {{Languages|UbuntuHelp:GnomeMenuEditingHowTo}} https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&targe...)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#ifexist: :GnomeMenuEditingHowTo/zh | | {{#ifexist: GnomeMenuEditingHowTo/zh | | {{#ifeq: {{#titleparts:GnomeMenuEditingHowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:GnomeMenuEditingHowTo|1|-1|}} | zh | | }}


IconsPage?action=AttachFile&do=get&target=IconNote.png NOTE: HOARY ONLY DOCUMENT!! This page is not necessary for users of Warty Warthog (the first release of Ubuntu).

Introduction

As reported in Ubuntu Bugzilla it is not possible to edit the menus in the current version of hoary, because of an upstream development in gnome 2.10. We are assured that gnome 2.12 will include menu-editing capability, but of course that isn't much good to us hoary users. This howto therefore is intended to try and compensate for this unfortunate state of affairs by giving users a limited ability to control their menus.

Please Note

The following is included only for benefit of system administrators and others who need fine-grained control over menu configurations. It is not supported. The standard default location for .desktop files is /usr/share/applications. The best advice is to look at the existing examples of the various files and try to copy by example.

To Add Menu Entries

Create a desktop file in /usr/share/applications using an existing file as a template. edit this file and add/edit a "Categories=" line at the bottom. This should include a keyword matching the appropriate menu item eg: for an Internet app you should have

Categories=Application;Network

Restart the panel.

Alternatives

UPDATE: Some very nice people have made programs to edit gnome menus. There are some unsupported programs in development, which may be worth a try.