Re: kontact addressbook on kmail imap

"Martin \(KDE\)" <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
Am Montag, 11. Mai 2009 schrieb Ingo Klöcker:
> On Monday 11 May 2009, Andreas Petzold wrote:
> > >> I'm not able to force the desired behaviour (kontact being
> > >> started instead of kmail) by modifying the .desktop files and
> > >> putting them in ~/.local/share/applications.
> > >>
> > >> My personal Kontact.desktop file now contains
> > >>
> > >> X-KDE-ServiceTypes=DBUS/ResourceBackend/IMAP,DBUS/Mailer
> > >>
> > >> while I've deleted this line from KMail.desktop. Still, KMail
> > >> starts seperately when my session is restored.
> > >
> > > Did you also patch the global KMail.desktop or just your local
> > > copy?
> >
> > no, I didn't touch the global KMail.desktop and Kontact.desktop
> > files. Instead, I did put patched versions of both into
> > ~/.local/share/applications.
> >
> > I've now tried again with a patched global KMail.desktop
> > (commented out the X-KDE-ServiceTypes line) and it works! I don't
> > understand why this way it does work but doesn't work with my
> > local .desktop files.

Thanks Andreas for testing this out. I took this solution too and it 
works as expected.

>
> Your local .desktop files do not override/replace the global ones.
> They are just used additionally to the global ones. So the global
> ones defined KMail and Kontact as providers for service type
> DBUS/ResourceBackend/IMAP and your local ones defined Kontact
> (again) as provider for service type DBUS/ResourceBackend/IMAP.

Hm, so there must be found a method to switch from kmail to kontact or 
vice versa on user preference overwriting the system default settings.

Martin

>
>
> Regards,
> Ingo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.