[Telepathy] To add a new account, you first have to install a backend

Alban Crequy muadda at gmail.com
Mon Oct 29 13:35:29 PDT 2007


On 10/29/07, Rainer Dorsch <rdorsch at web.de> wrote:
> Am Montag, 29. Oktober 2007 06:31 schrieb Simon McVittie:
> > On Sun, 28 Oct 2007 at 23:06:58 -0400, Rainer Dorsch wrote:
> > > gabble is installed in /opt/gtalk:
> > >
> > >  /usr/bin/install -c -m
> > > 644 'org.freedesktop.Telepathy.ConnectionManager.gabble.service'
> > > '/opt/gtalk/share/dbus-1/services/org.freedesktop.Telepathy.ConnectionMan
> > >ager.gabble.service'
> > >
> > > How do I tell my dbus system to check the services dir above?
> >
> > Create a file prefix-opt-gtalk.conf (or some such) in
> > /etc/dbus-1/session.d, containing:
> >
> > <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration
> > 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
> > <busconfig>
> >     <servicedir>/opt/gtalk/share/dbus-1/services</servicedir>
> > </busconfig>
> >
> > ... I think.
> >
>
> I have no /etc/dbus-1/session.d. Did you mean /etc/dbus-1/system.d?

I have:
$ dpkg -L dbus|grep /etc/dbus-1/session
/etc/dbus-1/session.conf
/etc/dbus-1/session.d

I don't know why you don't have this directory. My session.conf file
refers to this directory anyway:
  <includedir>session.d</includedir>

> Is there an easy way to check, if that worked? Can I query dbus for all its
> services or service dirs?

I don't know how to list directories...

But if you change the D-Bus configuration, you will need to restart
it, I think. You may use SIGHUP but according to the dbus-daemon
manpage, SIGHUP will cause the D-Bus daemon to PARTIALLY reload its
configuration file. You may not want to restart your main D-Bus
session...

To check if it works, just see with "ps" if Mission Control is
starting when Empathy try to use it. And if you have several versions
of MC, ls -l /proc/<MC-pid>/exe to see if this is the version you
want. I used to be tricked by using the wrong version!

-- 
Alban


More information about the Telepathy mailing list