From owner-freebsd-gnome@FreeBSD.ORG Wed Oct 6 12:10:14 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA7E316A4D0; Wed, 6 Oct 2004 12:10:14 +0000 (GMT) Received: from box84.elkhouse.de (box84.elkhouse.de [213.9.1.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E93B43D31; Wed, 6 Oct 2004 12:10:14 +0000 (GMT) (envelope-from roman@ontographics.com) Received: from [192.168.1.3] (1Cust193.vr2.fft4.alter.net [149.229.88.193]) (authenticated bits=0) by box84.elkhouse.de (8.12.10/8.12.10) with ESMTP id i96CBkRg098230 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 6 Oct 2004 12:11:46 GMT (envelope-from roman@ontographics.com) From: Roman Kennke To: Adam Weinberger In-Reply-To: <20041006120031.GN22274@toxic.magnesium.net> References: <1097061041.690.15.camel@moonlight> <20041006120031.GN22274@toxic.magnesium.net> Content-Type: text/plain; charset=iso-8859-15 Message-Id: <1097064605.690.30.camel@moonlight> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 06 Oct 2004 14:10:06 +0200 Content-Transfer-Encoding: 8bit cc: freebsd-gnome@FreeBSD.org Subject: Re: automatically create menu entries X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 12:10:14 -0000 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. Indeed? Is this in a usable state? > I think that if you're up to writing a program, you should either make > (a) a full-fledged GNOME menu editor, this already exists IMO. Click on Start-Here, and then on Applications. Or, type applications:/// in Nautilus address field, if present. > 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. Yes. I think best would be to create a separate Top-Level-Menü ('FreeBSD' ?? similar to Debian), and group the found applications below that one, not touching Gnome's (or whatever WM/Desktop is using this) menu. /Roman