Re: GConf+DBus in jhbuild



Hi,

>> On Tue, Jun 24, 2008 at 10:14 AM, Murray Cumming <murrayc murrayc com> wrote:
>> > Apparently GConf has switcged to using D-Bus, which explains why I'm
>> > getting errors from applications running in "jhbuild shell".
>> >
>> > Is there a simple way to make my jhbuild environment use the D-Bus and
>> > associated service files from my jhbuild-built /opt/gnome prefix? I
>> > imagine that it would be difficult given that old versions of D-Bus (and
>> > GConf) are already running from the regular prefix.
>> Does your dbus session.conf have
>>
>>  <standard_session_servicedirs />
>
> Yes, I have that in both
>   /etc/dbus-1/session.conf
> and
>  /opt/gnome220/etc/dbus-1/session.conf
> (actually a gnome2.23 build)
>
>> in it?  If so, then it should look in $XDG_DATA_DIRS/dbus-1/services.
>> XDG_DATA_DIRS should already be set up to include /opt/gnome/share
>
> Yes, it seems to be correct in jhbuild:
>
> murrayc murrayc-desktop:~$ echo $XDG_DATA_DIRS
> /usr/local/share/:/usr/share/:/usr/share/gdm/
>
> murrayc murrayc-desktop:~$ jhbuild shell
> murrayc murrayc-desktop:~$ echo $XDG_DATA_DIRS
> /opt/gnome220/share:/usr/local/share/:/usr/share/:/usr/share/gdm/

Just so I understand, you are

1) logging in with a gnome 2.22 desktop
2) typing jhbuild shell
3) trying to run gnome 2.24 programs from the shell and getting errors

Is that correct?  What error messages are you getting?

--Ray


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]