“UbuntuHelp:GnomeMenuEditingHowTo”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/GnomeMenuEditingHowTo}} {{Languages|UbuntuHelp:GnomeMenuEditingHowTo}} https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&targe...) |
小 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/GnomeMenuEditingHowTo}} | {{From|https://help.ubuntu.com/community/GnomeMenuEditingHowTo}} | ||
{{Languages|UbuntuHelp:GnomeMenuEditingHowTo}} | {{Languages|UbuntuHelp:GnomeMenuEditingHowTo}} | ||
− | |||
https://help.ubuntu.com/community/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). | https://help.ubuntu.com/community/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 === | === Introduction === | ||
− | |||
As reported in [https://bugzilla.ubuntu.com/show_bug.cgi?id=5471 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. | As reported in [https://bugzilla.ubuntu.com/show_bug.cgi?id=5471 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 ==== | ==== 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 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. | 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 ==== | ==== 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 | 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 | Categories=Application;Network | ||
− | |||
Restart the panel. | Restart the panel. | ||
− | |||
==== Alternatives ==== | ==== 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. | 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. | ||
* [http://ubuntuforums.org/forumdisplay.php?f=67 Ubuntu Menu Editor Project], discussion and home of the Simple Menu Editor for Gnome. | * [http://ubuntuforums.org/forumdisplay.php?f=67 Ubuntu Menu Editor Project], discussion and home of the Simple Menu Editor for Gnome. |
2007年12月5日 (三) 12:08的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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)