From owner-freebsd-gnome Thu Sep 26 21:34:42 2002 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 DCEE237B401 for ; Thu, 26 Sep 2002 21:34:39 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA6D843E42 for ; Thu, 26 Sep 2002 21:34:38 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.2] (vpn-client-2.marcuscom.com [10.2.1.2]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8R4UNiv050329; Fri, 27 Sep 2002 00:30:24 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: gconfd-1 and gnome2, and the faq From: Joe Marcus Clarke To: Adam Weinberger Cc: gnome@FreeBSD.ORG In-Reply-To: <20020927041536.GU77771@vectors.cx> References: <20020926111613.GQ77771@vectors.cx> <1033089964.756.16.camel@gyros.marcuscom.com> <20020927041536.GU77771@vectors.cx> Content-Type: multipart/mixed; boundary="=-BYoWnvjox9El4i3QGmxG" X-Mailer: Ximian Evolution 1.0.8 Date: 27 Sep 2002 00:34:16 -0400 Message-Id: <1033101260.1161.58.camel@gyros.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01,TO_BE_REMOVED_REPLY version=2.41 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 --=-BYoWnvjox9El4i3QGmxG Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2002-09-27 at 00:15, Adam Weinberger wrote: > >> (09.26.2002 @ 1826 PST): Joe Marcus Clarke said, in 2.1K: << > > Nope. If you have the latest versions of gconf and gconf2 installed, > > then gconfd-2 will be used instead of gconfd-1. This solves the > > problem. gconfd-2 is backwards compatible. > > i have the latest versions of both installed, but use fvwm2-devel as my > window manager. often the first gnome app to start in my X session is > galeon. as soon as galeon fires up, so does gconfd-1. > > monkey@smacky:~% killall galeon-bin; killall gconfd-{1,2}; galeon& > monkey@smacky:~% ps auxw|grep gconf > monkey 22989 0.0 0.6 3900 2996 p5 SN 9:08PM 0:00.06 /usr/X11R6/bin/gconfd-1 8 > > so far, i've just added: > gnome-control-center & > sleep 5 && killall gnome-control-center & > to my .xinitrc. > > there's got to be a better way ::) > > even though gconfd-2 takes precedence, i can't just wipe gconf off of my > system... but if i: > rm /usr/X11R6/bin/gconfd-1 > ln /usr/X11R6/libexec/gconfd-2 /usr/X11R6/bin/gconfd-1 > > then everything seems happy. > > i mean, a wrapper would be really easy to construct for gconfd-1... but > i still assume i'm just missing the point here and going way far out of > my way. > > what should i do to make sure that gconfd-2 starts up, and not gconfd-1? Can you try the attached patches for devel/gconf? Let me know if this fixes things. Joe > > -Adam > > > -- > "Oh good, my dog found the chainsaw." > -Lilo, "Lilo & Stitch" > Adam Weinberger > adam@vectors.cx > http://vectors.cx > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-gnome" in the body of the message > -- PGP Key : http://www.marcuscom.com/pgp.asc --=-BYoWnvjox9El4i3QGmxG Content-Disposition: attachment; filename=patch-gconf_Makefile.in Content-Transfer-Encoding: quoted-printable Content-Type: text/x-makefile; name=patch-gconf_Makefile.in; charset=ISO8859-1 --- gconf/Makefile.in.orig Fri Sep 27 00:28:12 2002 +++ gconf/Makefile.in Fri Sep 27 00:28:46 2002 @@ -154,6 +154,7 @@ -DGCONF_ETCDIR=3D\""$(sysconfdir)/gconf"\" \ -DGCONF_BUILDDIR=3D\""$(top_builddir)"\" \ -DGCONF_BINDIR=3D\""$(bindir)"\" \ + -DGCONF_PREFIX=3D\""$(prefix)"\" \ -DGCONF_BACKEND_DIR=3D\""$(pkglibdir)/$(MAJOR_VERSION)"\" \ -DVERSION=3D\""$(VERSION)"\" \ -DIID=3D\""OAFIID:gconfd:19991118"\" \ --=-BYoWnvjox9El4i3QGmxG Content-Disposition: attachment; filename="patch-gconf::gconf-internals.c" Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name="patch-gconf::gconf-internals.c"; charset=ISO8859-1 --- gconf/gconf-internals.c.orig Thu Mar 14 22:39:51 2002 +++ gconf/gconf-internals.c Fri Sep 27 00:30:47 2002 @@ -28,6 +28,9 @@ #include #include #include +#include +#include +#include #include #include #include @@ -3040,6 +3043,8 @@ =20 if (gconf_file_exists (GCONF_BINDIR"/gconfd-2")) argv[0] =3D g_strconcat (GCONF_BINDIR, "/gconfd-2", NULL); + else if (gconf_file_exists (GCONF_PREFIX"/libexec/gconfd-2")) + argv[0] =3D g_strconcat (GCONF_PREFIX"/libexec/gconfd-2", NULL); else argv[0] =3D g_strconcat (GCONF_BINDIR, "/" GCONFD, NULL); =20 --=-BYoWnvjox9El4i3QGmxG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message