From owner-freebsd-gnome Tue Feb 25 14:59: 2 2003 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 1C4F237B401 for ; Tue, 25 Feb 2003 14:58:59 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1F5E43F85 for ; Tue, 25 Feb 2003 14:58:53 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) by creme-brulee.marcuscom.com (8.12.7/8.12.7) with ESMTP id h1PMwIZX008018; Tue, 25 Feb 2003 17:58:18 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: refreshing the menus [solution] From: Joe Marcus Clarke To: Piero Cc: FreeBSD GNOME Users In-Reply-To: <20030225234136.114348c8.piero@poprostu.pl> References: <20030224111739.6ea7431f.piero@poprostu.pl> <3E5AA8F4.80307@ruilopes.com> <20030225064949.GA691@martin.kdrache.org> <1046157046.48782.142.camel@shumai.marcuscom.com> <20030225101545.7c90b184.piero@poprostu.pl> <1046186008.310.0.camel@gyros> <20030225224145.5add46dc.piero@poprostu.pl> <1046210659.310.89.camel@gyros> <20030225234136.114348c8.piero@poprostu.pl> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-HW5D4qssXKd+nQ6KgUuq" Organization: MarcusCom, Inc. Message-Id: <1046213922.310.102.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 25 Feb 2003 17:58:42 -0500 X-Spam-Status: No, hits=-33.0 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-HW5D4qssXKd+nQ6KgUuq Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable On Tue, 2003-02-25 at 17:41, Piero wrote: > W li=B6cie otrzymanym 25 Feb 2003 17:04:20 -0500 od Joe Marcus Clarke > : >=20 > > > [cut]=20 > > > > > > Like I said, if you install devel/fam, and configure it, the > > > > > > panel will refresh automatically. Of course, you'll need to > > > > > > rebuild gnomevfs2 after installing fam. > > > > >=20 > > > > > I got FAM, and it was installed before Gnome, but heh it doesn't > > > > > seem to work. > > > >=20 > > > > Did you configure it? It requires a bit of work. > > >=20 > > > You mean FAM or the panel? I had a look at /usr/local/etc/fam.conf, > > > but it doesn't seem to have any connection to the panel issue. TIA. > >=20 > > You have to get FAM running. To do this, read the documentation that > > comes with the FAM port (or search the gnome@ archives). Once FAM is > > up and running, rebuild gnomevfs2 so that FAM support is enabled, then > > logout and log back into GNOME. You should see panel updates. >=20 > Joe, thanks for help. You were right about me having, but not running > fam. So here goes the solution: >=20 > one need: > $ grep fam /etc/rpc > sgi_fam 391002 # file alteration monitor >=20 > $ grep fam /etc/inetd.conf > sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam >=20 > This is a suggested solution. But if you don't need nor like to run > inetd, one can run fam as daemon : >=20 > $ more /usr/local/etc/rc.d/fam.sh.sample > #!/bin/sh > if ! PREFIX=3D$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then > echo "$0: Cannot determine the PREFIX" >&2 > exit 1 > fi >=20 > case "$1" in > start) > [ -x ${PREFIX}/bin/fam ] && ( ${PREFIX}/bin/fam & ) && echo -n ' fam' > ;; > stop) > killall fam && echo -n ' fam' > ;; > *) > echo "Usage: `basename $0` {start|stop}" >&2 > ;; > esac > exit 0 >=20 > It is also good to take a look at the /usr/local/etc/fam.conf and "man > fam". >=20 > BTW: FAM port for FreeBSD seems to install only the line into the > /etc/rpc, the entry in inetd.conf or the start up script you have to > make yourself. You forgot a step. You need to have portmap running on -STABLE or rpcbind on -CURRENT. Without this, FAM will refuse to start. Joe >=20 > --- > Piero > piero@poprostu.pl >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-HW5D4qssXKd+nQ6KgUuq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+W/Uib2iPiv4Uz4cRAqYyAJ0beMrsiq853ILt4sSGuquC7PzKBwCgoeLr m/MJo4XQVzsgtyUzHjnGoYY= =OTWq -----END PGP SIGNATURE----- --=-HW5D4qssXKd+nQ6KgUuq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message