[Toulibre] Importer paramètres de comptes Kontact sous KDE

phep phep-lists at teletopie.net
Dim 10 Mai 18:36:20 CEST 2009


laurent a écrit :
> Je ne sais pas si la méthode peut être adaptée pour kmail mais
> peut-être essayer ce n'est qu'une hypothèse

Non, la structure de fichier de kmail est très différente.

Par ailleurs je ne suis pas bien sûr d'avoir bien compris les manips
faites ou voulues par Olivier.

Ci-dessous un copié-collé d'un mail du responsable de dév de kmail sur
la liste kdepim-users qui explique coomment recoipier les anciens
fichiers de kmail dans le nouvveau ~/.kde :

8<-----------------------
On Saturday 29 November 2008, Peter777 wrote:
> > I'm moving KMail to another computer, and just wanted to be sure of
> > _all_ the files I need.
> >
> > * Data (mail folders) - this is specified in the config file
> > * config file - ~/.kde/share/config/kmailrc
> >
> > Now, I notice there is an a file called 'emailidentities' in
> > ~/.kde/share/config , that looks like part of KMail

This is mentioned in KMail's manual (cf.
http://docs.kde.org/kde3/en/kdepim/kmail/faq.html#id2570357).

 ;-)


> > Are there any other files please ?

I had a look in ~/.kde/share/config/ looking for files related to KMail
and found the following:

~/.kde/share/config/kmail.antispamrc - This file is never changed by
KMail. It can be changed by a user to add support for a new anti-spam
tool to KMail.
~/.kde/share/config/kmail.eventsrc - This file contains the
configuration of the "New mail arrived" notification available via
Settings->Configure Notifications.
~/.kde/share/config/kmailsnippetrc - This file contains the text
snippets that can be inserted in the composer. Interestingly enough, I
have no idea how those snippets can be used. *shrug*

Then there's

~/.kde-cvs/share/apps/kmail/kmmainwin.rc,
~/.kde-cvs/share/apps/kmail/kmcomposerui.rc - Those two files contain
the configuration of toolbar and shortcuts available via
Settings->Configure Shortcuts and Settings->Configure Toolbars in
KMail's main window and in KMail's composer window.


I guess now you understand why I always copy all of ~/.kde to a new
computer. (Actually, I always copy my complete home directory.)  ;-)


Regards,
Ingo

8<-----------------------

Si tes dossiers de courrier étaient sous ~/.kde ça a de grande chance de
fonctionner pour ce que je connais de la conf de kmail/kde.

Dans ton cas (changement de userid) il faudra un chown -R
olivier:olivier sur les fichiers recopiés de kmail puis un grep récursif
préalable sur la chaîne 'olivs' suivi des s/olivs/olivier/ qui vont bien
avant de relancer kde.

Ah, bien sûr, toutes ces manips surtout pas dans une session kde de
'olivier'.

HTH

pp



Plus d'informations sur la liste de diffusion Toulouse-ll