Date: Wed, 06 Oct 2004 20:19:01 +0200 From: Roman Kennke <roman@ontographics.com> To: Adam Weinberger <adamw@FreeBSD.org> Cc: freebsd-gnome@FreeBSD.org Subject: Re: automatically create menu entries Message-ID: <1097086740.76372.1.camel@moonlight> In-Reply-To: <20041006120031.GN22274@toxic.magnesium.net> References: <1097061041.690.15.camel@moonlight> <20041006120031.GN22274@toxic.magnesium.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Am Mi, den 06.10.2004 schrieb Adam Weinberger um 14:00: > >> (10.06.2004 @ 0710 PST): Roman Kennke said, in 1.5K: << > > Hi FreeBSD-Gnome-list, > > > > I've been using FreeBSD+Gnome for a while now and want to say first, > > that I'm very pleased with this. > > > > One thing that I am missing is menu entries for common applications like > > Mozilla, Emacs, OpenOffice and so on. I would like to have this > > configured automatically. I have some ideas how to accomplish this: > > > > 1. each application (port) is responsible for creating desktop entries > > in the /usr/X11R6/share/gnome/applications (?) directory. ok, not a very > > good solution. This could be supported by the ports system in some way. > > > > 2. someone (maybe me) starts to create (or maybe there exists) a > > database of applications with their common binary locations and .desktop > > entries for them. Then it should be easy to scan a computer for these > > apps and include the desktop entries in > > /usr/X11R6/share/gnome/applications directory > > > > 3. another cool system is Debians menu system. something similar could > > be implemented in the ports system. This again gives the ports > > developers some responsibility. > > > > Such a system would not only be good for FreeBSD/Gnome but also for > > other Freedesktop.org compliant window managers and/or OSes. > > > > Is there interest in such a system? Does something like this already > > exist in FreeBSD? Which approach would you like? > >> end of "automatically create menu entries" from Roman Kennke << > > I've been toying with the concept of a Makefile macro that will generate > desktop entries for ports that do not install them. I'll get moving on > that. It's the least portable option, however. > > I think that if you're up to writing a program, you should either make > (a) a full-fledged GNOME menu editor, or (b) use your second suggestion > and make an app that also recognizes when a program has a desktop entry > but has been renamed and/or moved to a different category. I disagree > with the way that fluxbox-generate-menu overwrites the menu that you > already have. Oh well, actually there is such a program: x11-wm/wmconfig does the job quite fine: >wmconfig --output=gnome2 restart Gnome and you have a new menu named Wmconfig which holds lots of entries for all kind of apps. I must check this app more closely. /Roman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1097086740.76372.1.camel>