From owner-freebsd-gnome@FreeBSD.ORG Wed Nov 17 14:26:15 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 93CAA16A4CE for ; Wed, 17 Nov 2004 14:26:15 +0000 (GMT) Received: from smtp1.jazztel.es (smtp1.jazztel.es [62.14.3.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFA5B43D1D for ; Wed, 17 Nov 2004 14:26:14 +0000 (GMT) (envelope-from josemi@freebsd.jazztel.es) Received: from antivirus by smtp1.jazztel.es with antivirus id 1CUQlT-0002hG-00 Wed, 17 Nov 2004 15:26:31 +0100 Received: from [212.106.252.3] (helo=rguez.homeunix.net) by smtp1.jazztel.es with esmtp id 1CUQlS-0002gV-00 Wed, 17 Nov 2004 15:26:30 +0100 Received: from redesjm.local (orion.redesjm.local [192.168.254.16]) by rguez.homeunix.net (8.13.1/8.13.1) with ESMTP id iAHEQCsA002025; Wed, 17 Nov 2004 15:26:12 +0100 (CET) (envelope-from freebsd@redesjm.local) Received: from localhost (localhost [[UNIX: localhost]]) by redesjm.local (8.13.1/8.13.1/Submit) id iAHEQDvX025420; Wed, 17 Nov 2004 15:26:13 +0100 (CET) (envelope-from freebsd@redesjm.local) From: Jose M Rodriguez To: freebsd-gnome@freebsd.org Date: Wed, 17 Nov 2004 15:26:13 +0100 User-Agent: KMail/1.7.1 References: <200411171344.43257.freebsd@redesjm.local> In-Reply-To: <200411171344.43257.freebsd@redesjm.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200411171526.13795.freebsd@redesjm.local> X-AntiVirus: checked by AntiVir Milter (version: 1.1; AVE: 6.28.0.12; VDF: 6.28.0.76; host: antares.redesjm.local) X-Virus-Scanned: by antivirus Subject: Re: linking to gnome uri handlers from general script 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, 17 Nov 2004 14:26:15 -0000 El Mi=E9rcoles, 17 de Noviembre de 2004 13:44, Jose M Rodriguez escribi=F3: > Hi again, > > Working on mozilla apps general integration with FreeBSD and need to > solve two basic questions. > > An env detect method to HiFi detect that a sh app is running from > gnome-session. (An env var set only when gnome-session is running). > candidates: GNOME_DESKTOP_SESION_ID default (any) DESKTOP_SESSION gnome > A sh exec method to open a generic uri in the default handler set by > the control-center ( prefered apps / mime types ). > candidates: exec gnome-open Note: I detect problems with entries used by gnome-control-center to this. In special, try exec mozilla-firebird instead of firefox. > thanks in advance, > -- > josemi > > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to > "freebsd-gnome-unsubscribe@freebsd.org"