[opensuse-packaging] In need of a category for .desktop file
These are category entries from two different .desktop files Categories=GNOME;System;Core; Categories=GNOME;Settings; Both are rejected with »ERROR: No sufficient Category definition:«. Can anybody tell me what needs to be done to get acceptable entries? Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 7 Aug 2007, Philipp Thomas wrote:-
These are category entries from two different .desktop files
Categories=GNOME;System;Core; Categories=GNOME;Settings;
Both are rejected with ›ERROR: No sufficient Category definition:‹. Can anybody tell me what needs to be done to get acceptable entries?
Without knowing just what these are for, my best guess would be to replace them with: Catagories=System;Utility; and possibly replace the "Categories=GNOME;System;Core;" with: Catagories=System;SystemSetup; Regards, David Bolt -- Member of Team Acorn checking nodes at 100 Mnodes/s: www.distributed.net RISC OS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit RISC OS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a6 32bit --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philipp Thomas wrote:
These are category entries from two different .desktop files
Categories=GNOME;System;Core; Categories=GNOME;Settings;
Both are rejected with »ERROR: No sufficient Category definition:«. Can anybody tell me what needs to be done to get acceptable entries?
http://standards.freedesktop.org/menu-spec/latest/apa.html Additional Categories should always be used in combination with one of the Main Categories. Settings and System are Main Categories, GNOME and Core are Additional Categories defining desktop type. You did not specify any usage type Additional Category and menu system cannot guess correct submenu for such entries. Choose one of the table or propose new one in Freedesktop Bugzilla. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Stanislav Brabec (sbrabec@suse.cz) [20070807 19:03]:
Categories=GNOME;System;Core;
This is for the .desktop file of Avant Desktop Manager, https://launchpad.net/awn
Categories=GNOME;Settings;
This is for the awn settings tool.
You did not specify any usage type Additional Category and menu system cannot guess correct submenu for such entries. Choose one of the table or propose new one in Freedesktop Bugzilla.
Maybe I'm just blind, but I don't see matching categories. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Philipp Thomas (pth@suse.de) [20070807 19:35]:
This is for the .desktop file of Avant Desktop Manager,
It's »Avant Window Navigator«, my bad. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philipp Thomas wrote:
* Stanislav Brabec (sbrabec@suse.cz) [20070807 19:03]:
Categories=GNOME;System;Core;
This is for the .desktop file of Avant Desktop Manager, https://launchpad.net/awn
Categories=GNOME;Settings;
This is for the awn settings tool.
You did not specify any usage type Additional Category and menu system cannot guess correct submenu for such entries. Choose one of the table or propose new one in Freedesktop Bugzilla.
Maybe I'm just blind, but I don't see matching categories.
I guess that Utility;Accessibility is the nearest, but I guess it's abuse of it. Then join to xdg@lists.freedesktop.org or use Freedesktop Bugzilla and propose new Category. My idea: 1) deprecate DesktopSettings in favor of Desktop;Settings 2) add Desktop: | Desktop | Desktop management | Utility, Settings or System | 3) Be more exact about Accessibility -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tuesday 07 August 2007 17:18:38 wrote Philipp Thomas:
These are category entries from two different .desktop files
Categories=GNOME;System;Core; Categories=GNOME;Settings;
Both are rejected with »ERROR: No sufficient Category definition:«. Can anybody tell me what needs to be done to get acceptable entries?
the check tells you that you would get multiple menu entries. You need to add further Categories to limit the entries to one menu. -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Adrian Schröter (adrian@suse.de) [20070807 20:39]:
the check tells you that you would get multiple menu entries. You need to add further Categories to limit the entries to one menu.
I know that. What I don't know, having never had to deal with these things, is what to use, given that the XDG list doesn't seem to give me what I need. Seems that calls for a X- category? Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Philipp Thomas wrote:
* Adrian Schröter (adrian@suse.de) [20070807 20:39]:
the check tells you that you would get multiple menu entries. You need to add further Categories to limit the entries to one menu.
I know that. What I don't know, having never had to deal with these things, is what to use, given that the XDG list doesn't seem to give me what I need. Seems that calls for a X- category?
"Something like this is apparently missing in the specification" is a reason to fix specification, not to use X-. X- categories might be useful for special menu systems (like GNOME control center, YaST), not the main application menu. For now choose "random" category and wait for something useful. The process of adding category is not simple. It requires specification change, assigning of drawer in the menu systems and a new icon for it from artists. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Adrian Schröter
-
David Bolt
-
Philipp Thomas
-
Stanislav Brabec