[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741573: Two menu systems



Nikolaus Rath <Nikolaus@rath.org> writes:

> Keith Packard <keithp@keithp.com> writes:
>>  1. Implement .desktop parsing support in the existing 'menu' package so
>>     that packages providing only .desktop files would be incorporated
>>     into menu programs without further change.
>
>
> FWIW, it seems there is at least partial support for that already. At
> least on my testing system, there is:
>
> NAME
>        desktop2menu - create a menu file skeleton from a desktop file

Thanks for pointing that out. desktop2menu is a perl script which uses
the published perl bindings for .desktop files and has a start at a
mapping from .desktop Categories to menu sections. It also doesn't
correctly handle generating .xpm files for the icons.

I think this does demonstrate that we could, with little effort, allow
applications to ship only .desktop files and have the menu package take
those and generate menu files for other systems.

-- 
keith.packard@intel.com

Attachment: pgpMCQP4SUVX9.pgp
Description: PGP signature


Reply to: