From owner-freebsd-gnome Tue Feb 25 14:45: 0 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 11C9337B401 for ; Tue, 25 Feb 2003 14:44:58 -0800 (PST) Received: from beth.poprostu.pl (pf183.wroclaw.sdi.tpnet.pl [213.25.228.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F13943F85 for ; Tue, 25 Feb 2003 14:44:56 -0800 (PST) (envelope-from smyru@beth.poprostu.pl) Received: from beth.poprostu.pl (localhost [127.0.0.1]) by beth.poprostu.pl (8.12.6/8.12.6) with ESMTP id h1PMhm0u001402; Tue, 25 Feb 2003 23:43:49 +0100 (CET) (envelope-from smyru@beth.poprostu.pl) Received: (from smyru@localhost) by beth.poprostu.pl (8.12.6/8.12.6/Submit) id h1PMhlqu001401; Tue, 25 Feb 2003 23:43:47 +0100 (CET) Date: Tue, 25 Feb 2003 23:41:36 +0100 From: Piero To: Joe Marcus Clarke Cc: gnome@freebsd.org Subject: Re: refreshing the menus [solution] Message-Id: <20030225234136.114348c8.piero@poprostu.pl> In-Reply-To: <1046210659.310.89.camel@gyros> 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> Organization: Poprostu X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable 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 W li=B6cie otrzymanym 25 Feb 2003 17:04:20 -0500 od Joe Marcus Clarke : > > [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. Joe, thanks for help. You were right about me having, but not running fam. So here goes the solution: one need: $ grep fam /etc/rpc sgi_fam 391002 # file alteration monitor $ grep fam /etc/inetd.conf sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam This is a suggested solution. But if you don't need nor like to run inetd, one can run fam as daemon : $ 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 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 It is also good to take a look at the /usr/local/etc/fam.conf and "man fam". 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. --- Piero piero@poprostu.pl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message