Re: New computer

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Friday 13 August 2010, ianseeks wrote:
> On Friday 13 August 2010 19:52:49 Ingo Klöcker wrote:
> > On Friday 13 August 2010, ianseeks wrote:
> > > On Friday 13 August 2010 09:44:01 O. Sinclair wrote:
> > > > Got a new laptop and am busy installing it. So far so good.
> > > > Next step is to move data from old to new.
> > > > 
> > > > This time I am not going for the easiest solution, to copy
> > > > everything under /home/myname, but I want an as clean as
> > > > possible solution. BUT want my mail, my mail accounts, my
> > > > contacts, notes and information such as replied-to, filters
> > > > etc copied over.
> > > > 
> > > > I am aware of this info:
> > > > http://userbase.kde.org/KMail/FAQs_Hints_and_Tips#Transfer_mail
> > > > _and _setting
> > > > s_to_another_computer_.28or_another_user_account_on_the_same_ma
> > > > chi ne.29
> > > > 
> > > > but is it still up to date after KAdressbook started using
> > > > Akonadi?
> > > > 
> > > > I also found this in an old email:
> > > > Substitute the appropriate path below.
> > > > 
> > > > You need the following config files:
> > > > 
> > > > .kde4/share/config/emaildefaults
> > > > .kde4/share/config/emailidentities
> > > > .kde4/share/config/kmail.eventsrc
> > > > .kde4/share/config/kmailrc
> > > > .kde4/share/config/kaddressbookrc
> > > > .kde4/share/config/kresources/contact
> > > > .kde4/share/config/korgacrc
> > > > .kde4/share/config/korganizerrc
> > > > .kde4/share/config/knotesrc
> > > > 
> > > > and the following directories:
> > > > 
> > > > .kde4/share/apps/kmail
> > > > .kde4/share/apps/kabc
> > > > .kde4/share/apps/korganizer
> > > > .kde4/share/apps/knotes
> > > > 
> > > > If you use Akregator within Kontact, you will also need:
> > > > 
> > > > .kde4/share/config/akregator.eventsrc
> > > > .kde4/share/config/akregatorrc
> > > > .kde4/share/config/kopete.eventsrc
> > > > 
> > > > and the whole .kde4/share/apps/akregator directory.
> > > > 
> > > > is that a more "complete" list and has something changed since
> > > > migration to Akonadi (this was pre-Akonadi Contacts)
> > > 
> > > Wouldn't it be nice to have a ".kontact" folder that included
> > > links to all the kontact data scattered all over your home
> > > directory then you could just type one "cp" command.
> > 
> > Nice idea. But this would only allow you to backup the data easily.
> > On the new system you still would have to put all files into the
> > correct locations.
> 
> Yes, i think this is a big problem that goes wider than kontact. 
> There seems to be no standard that all the apps should follow where
> data and config files reside.  They all seem to make it up as they
> go along.

No. They don't.

For KDE applications this is pretty much standardized:
- settings are stored in ~/.kde/share/config
- data is stored in ~/.kde/share/apps/<appname>

It gets a bit more complicated because of background components used by 
many KDE applications, e.g. kabc (the old KDE service for accessing 
address books) or Nepomuk.

And then there is Akonadi which is not a KDE background component. 
Therefore Akonadi uses the standard locations for non-KDE components, 
i.e.
~/.config/akonadi - for settings
~/.local/share/akonadi - for data


So, the problem is not that we use random locations for settings and 
data (they are not random). The problem is that you need to know which 
background components are relevant for Kontact.


Regards,
Ingo

_______________________________________________
KDE PIM users mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEABECAAYFAkxnBYkACgkQGnR+RTDgudj0JACfUKeWhr8Qfvn2xcCFOS5WwMXE
05YAoJvMj8hOd/0AdtxDCv9IFbO8ZGUL
=ZuWz
-----END PGP SIGNATURE-----
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.