特殊:Badtitle/NS100:GnomeMenuEditingHowTo
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/GnomeMenuEditingHowTo }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/af | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Afrikaans| [[::GnomeMenuEditingHowTo/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ar | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|العربية| [[::GnomeMenuEditingHowTo/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/az | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|azərbaycanca| [[::GnomeMenuEditingHowTo/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/bcc | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|جهلسری بلوچی| [[::GnomeMenuEditingHowTo/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/bg | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|български| [[::GnomeMenuEditingHowTo/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/br | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|brezhoneg| [[::GnomeMenuEditingHowTo/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ca | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|català| [[::GnomeMenuEditingHowTo/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/cs | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|čeština| [[::GnomeMenuEditingHowTo/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/de | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Deutsch| [[::GnomeMenuEditingHowTo/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/el | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Ελληνικά| [[::GnomeMenuEditingHowTo/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/es | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|español| [[::GnomeMenuEditingHowTo/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/fa | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|فارسی| [[::GnomeMenuEditingHowTo/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/fi | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|suomi| [[::GnomeMenuEditingHowTo/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/fr | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|français| [[::GnomeMenuEditingHowTo/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/gu | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|ગુજરાતી| [[::GnomeMenuEditingHowTo/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/he | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|עברית| [[::GnomeMenuEditingHowTo/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/hu | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|magyar| [[::GnomeMenuEditingHowTo/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/id | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Bahasa Indonesia| [[::GnomeMenuEditingHowTo/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/it | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|italiano| [[::GnomeMenuEditingHowTo/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ja | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|日本語| [[::GnomeMenuEditingHowTo/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ko | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|한국어| [[::GnomeMenuEditingHowTo/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ksh | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Ripoarisch| [[::GnomeMenuEditingHowTo/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/mr | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|मराठी| [[::GnomeMenuEditingHowTo/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ms | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Bahasa Melayu| [[::GnomeMenuEditingHowTo/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/nl | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Nederlands| [[::GnomeMenuEditingHowTo/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/no | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|norsk| [[::GnomeMenuEditingHowTo/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/oc | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|occitan| [[::GnomeMenuEditingHowTo/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/pl | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|polski| [[::GnomeMenuEditingHowTo/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/pt | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|português| [[::GnomeMenuEditingHowTo/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ro | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|română| [[::GnomeMenuEditingHowTo/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/ru | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|русский| [[::GnomeMenuEditingHowTo/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/si | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|සිංහල| [[::GnomeMenuEditingHowTo/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/sq | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|shqip| [[::GnomeMenuEditingHowTo/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/sr | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|српски / srpski| [[::GnomeMenuEditingHowTo/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/sv | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|svenska| [[::GnomeMenuEditingHowTo/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/th | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|ไทย| [[::GnomeMenuEditingHowTo/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/tr | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Türkçe| [[::GnomeMenuEditingHowTo/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/vi | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|Tiếng Việt| [[::GnomeMenuEditingHowTo/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/yue | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|粵語| [[::GnomeMenuEditingHowTo/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/zh | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|中文| [[::GnomeMenuEditingHowTo/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/zh-hans | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|中文(简体)| [[::GnomeMenuEditingHowTo/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:GnomeMenuEditingHowTo | UbuntuHelp:GnomeMenuEditingHowTo | {{#if: | :}}GnomeMenuEditingHowTo}}/zh-hant | • {{#if: UbuntuHelp:GnomeMenuEditingHowTo|中文(繁體)| [[::GnomeMenuEditingHowTo/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:GnomeMenuEditingHowTo|:GnomeMenuEditingHowTo|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :GnomeMenuEditingHowTo/zh | | {{#ifexist: GnomeMenuEditingHowTo/zh | | {{#ifeq: {{#titleparts:GnomeMenuEditingHowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:GnomeMenuEditingHowTo|1|-1|}} | zh | | }}
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.
- Ubuntu Menu Editor Project, discussion and home of the Simple Menu Editor for Gnome.
- here (Ubuntu Forum)
- here (Being developed by an Ubuntu developer)
- "gnome-menu-editor" (thanks to SimosXenitellis)
- To install new .desktop files, see this comment on FedoraFAQ (thanks to SimosXenitellis)