From owner-freebsd-gnome@FreeBSD.ORG Wed Oct 6 18:32:32 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 91EB716A4CE; Wed, 6 Oct 2004 18:32:32 +0000 (GMT) Received: from smtp2.jazztel.es (smtp2.jazztel.es [62.14.3.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14E7343D48; Wed, 6 Oct 2004 18:32:32 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp2.jazztel.es with antivirus id 1CFGaR-0007fH-00 Wed, 06 Oct 2004 20:32:27 +0200 Received: from [212.106.254.137] (helo=rguez.homeunix.net) by smtp2.jazztel.es with esmtp id 1CFGaQ-0007eR-00 Wed, 06 Oct 2004 20:32:26 +0200 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id i96IWTK5036585; Wed, 6 Oct 2004 20:32:29 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id i96IWQJK002734; Wed, 6 Oct 2004 20:32:26 +0200 (CEST) (envelope-from josemi@freebsd.jazztel.es) X-Authentication-Warning: orion.redesjm.local: freebsd set sender to josemi@freebsd.jazztel.es using -f From: Jose M Rodriguez To: freebsd-gnome@freebsd.org Date: Wed, 6 Oct 2004 20:32:26 +0200 User-Agent: KMail/1.7 References: <1097061041.690.15.camel@moonlight> <20041006120031.GN22274@toxic.magnesium.net> <1097086740.76372.1.camel@moonlight> In-Reply-To: <1097086740.76372.1.camel@moonlight> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410062032.26764.josemi@freebsd.jazztel.es> X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.27.0.12; VDF 6.27.0.81 (host: antares.redesjm.local) X-Virus-Scanned: by antivirus 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 18:32:32 -0000 On Wednesday 06 October 2004 20:19, Roman Kennke wrote: > 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 > Please, check this before. http://freedesktop.org/Standards/menu-spec/menu-spec-0.8.html -- josemi