Skip site navigation (1)Skip section navigation (2)
Date:      25 Feb 2003 17:58:42 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Piero <piero@poprostu.pl>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: refreshing the menus [solution]
Message-ID:  <1046213922.310.102.camel@gyros>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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
> <marcus@marcuscom.com> :
>=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1046213922.310.102.camel>