Bug#741573: Two menu systems
Keith Packard <email@example.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:
desktop2menu - create a menu file skeleton from a desktop file
desktop2menu desktop file [package name]
desktop2menu generates a skeleton menu file from the supplied
freedesktop.org desktop file.
The package name to be used in the menu file may be passed as an
additional argument. If it is not supplied then desktop2menu will
attempt to derive the package name from the data in the desktop file.
This program is Copyright (C) 2007 by Sune Vuorela
<firstname.lastname@example.org>. It was modified by Adam D. Barratt
<email@example.com> for the devscripts package. This program
comes with ABSOLUTELY NO WARRANTY. You are free to redistribute this
code under the terms of the GNU General Public License, version 2 or
Sune Vuorela <firstname.lastname@example.org> with modifications by Adam D. Barratt
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«