Christian Mangold :: neversfelde

Geek, FLOSS advocate and Kubuntu Ninja
Home
Skip to content
  • Contact
  • GPG
  • Delicious
« Koffice 2.1 rc1 for Karmic in the backports beta ppa
Sync your Android phone with Kubuntu 9.10 – part 3 »

Sync your Android phone with Kubuntu 9.10 – part 2

You should read part 1 before. After installing the necessary software, next step is the configuration of Kontact and Akonadi. It is not too complicated, but needs probably some experimentation. If you make mistakes, you probably want to delete the whole configuration to make a new start. It is necessary to remove all Akonadi files in your ~ directory. They are placed at several locations:

  • ~/.config/akonadi
  • ~/.kde/share/config/akonadi-firstrunrc
  • ~/.kde/share/config/akonadi_gcal_resource_0rc
  • ~/.kde/share/config/akonadi_googledata_resource_0rc
  • ~/.kde/share/config/akonadi_ical_resource_1rc
  • ~/.local/share/akonadi

It should be self-evident that you backup your data before you change your configuration. Again I have to say, that this procedure is more a proof of concept than a solution for productive environments.

Akonadi:

We’ll start with Akonadi itself, settings can be found in “Systemsettings >> Advanced >> Akonadi Configuration”. First make sure that the Akonadi server is running, you can check this by activating the “Akonadi Server Configuration” tab and having a look at the section “Status”. If the server is stopped, start it. You should also check if it is started automatically after next KDE reboot. I read about some problems with Akonadi not starting, but I could not reproduce it myself.

Altogether I’m using four different resources for Akonadi, two for contacts and two for the calendar. If have some contacts and appointments that have to stay private and I do not want to send them to my Google account. I store this private data local only. You can add these resources by adding “ICal Calendar File” and “VCard File”. Kontact stores the contacts in ~/.kde/share/apps/kabc/std.vcf and the calendar file is ~/.kde/share/apps/korganizer/std.ics. Of course you can also use different locations.

akonadi

The more important resources are the Google ones. They are called “Akonadi Google Calendar Resource” and “Akonadi Google Contacts Resource”. After adding them, you will be asked after your Google username and password. Username is the first part of your gmail address, @gmail.com is added automatically. After adding these two resources Akonadi is ready. Unfortunately I ran into some problems with the Akonadi Google resource, I am sure you will notice these problems, too.  I am also sure that it will be better in the next versions, so please report or confirm bugs.

Kontact:

Last step for this part of the howto is the configuration of Kontact. It is not very difficult, all you have to do is to add the newly configured Akonadi resources to the used adressbooks and calendars. If you like, you can also make the Google calendar default. If you do not, you will be asked whether you want to store tho contact or appointment in the local files or in the Google resource. I think a screenshot is best to explain this step:

kontact

Make sure that you add the Akonadi resources for kaddressbook and korganizer.

You will notice that todos are not synced. As I mentioned before, I do this via Rememberthemilk and Astrid, but this has to wait untill I get part 3 ready. Stay tuned.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • Identi.ca
  • Posterous
  • Twitter
  • MisterWong
  • RSS
This entry was written by neversfelde, posted on November 15, 2009 at 16:35, filed under Android, Kubuntu and tagged Akonadi, Android, Kontact, Kubuntu, Sync. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Both comments and trackbacks are currently closed.
« Koffice 2.1 rc1 for Karmic in the backports beta ppa
Sync your Android phone with Kubuntu 9.10 – part 3 »

2 Comments

  1. Kevin says:
    November 19, 2009 at 02:14

    “@gmail.com is added automatically”

    Why? Just have the user put in their fully qualified user name. It seems like a waste to add code just for appending. What about those users with “googlemail.com”?

    • neversfelde says:
      November 19, 2009 at 11:21

      Dunno, I am not the upstream author of this plugin. Seems to me, that googlemail.com is an alias of @gmail.com, so there should be no problem?

  • Tags

    Akonadi Aldi Android Astrid eplus Google KDE Koffice Kontact Kubuntu Mobile Network o2 packages ppa rtm sms Sync UMTS
  • Categories

    • Android
    • Kubuntu
  • Archives

    • January 2010
    • December 2009
    • November 2009
  • Recent Comments

    • neversfelde on Using an UMTS Medion USB Stick with Kubuntu 9.10
    • neversfelde on Using an UMTS Medion USB Stick with Kubuntu 9.10
    • Mark on Using an UMTS Medion USB Stick with Kubuntu 9.10
    • dgf on Using an UMTS Medion USB Stick with Kubuntu 9.10
    • neversfelde on Android AIRMail
  • Blogroll

    • Arne Mangold
    • Arthur Schiwon
    • Ralph Janke
    • Robert Frießleben
    • Sputnik
    • Thomas David
  • Social Networks

    • Delicious
    • Flickr
    • identi.ca
    • last.fm
  • identi.ca

    • @commaaander Du hast halt keinen
      Geschmack ;)
    • @commaaander Ich warte auf die
      Halftime Show :)
    • @nixternal have fun :)
    • @blizzz ja, der darf sie nicht
      mehr tragen, muss was rotes sein
    • @mtux any news about a new mdic
      version?
    • @commaaander rofl
    • @commaaander das war jetzt aber
      etwas sehr strange
    • @commaaander was jetzt ja im
      Prinzip nicht so verkehrt ist für
      nen Film ;)

    Follow me on identi.ca
WordPress | Sandbox | Oxygen | yellowicon | Login