Finding duplicate contacts in your address book

One of the common complaints about the Maemo address book is that it’s easy to get a lot of duplicate contacts as the address book is able to pull your contacts from various IM services. From the beginning there has been a way to merge duplicates, but it meant manually going through all of your contacts hunting down the duplicates.
Today I finished writing the first version of a program that tries to automatically detect duplicates based on the IM names, emails, phone numbers and names. Of course this is just based on heuristics; you still have to go through the list and select the contacts that you want to merge. You can find this utility under the name “Merge your duplicate contacts” in the application manager and it’s available in Maemo extras-devel. Remember that extras-devel contains unstable software: enable it only if you really know what you are doing!
After installing Contacts Merger you have to reboot your phone[1] and then you will get a “Find duplicate contacts” button in the menu of the main address book window.

The window suggesting the possible merges
The window suggesting the possible merges

Update: I released 0.1.1 that fixes a crasher in case of malformed contacts.

Update 2: Forgot to say where to get the code.

[1] Sadly the address book doesn’t automatically load newly installed plugins without a restart; see bug #10542.

17 thoughts on “Finding duplicate contacts in your address book

  1. Finally 🙂

    I *so* screwed this up, the world could have had this much earlier. Nice interface lift 🙂


  2. How about turning that into a library and adding support for it to KMail, Thunderbird, Evolution, SHR Contacts and so on?


  3. DUUUDE, SRSLY!!!!!!

    you saved my life 😀

    maybe a little option to choose wich avatar you want the merged contact to have would make this app perfect!


  4. It would be nice to point out that the displayed name is actually “Merge your duplicate contacts”. I had trouble finding it in the application manager because I was looking under “Contact Merger”.

    An idea for further dev would be to be able to permanently ignore matches so they don’t appear in the list anymore.


  5. @cliff:
    Thanks 🙂
    The dialog to resolve conflicts comes from the address book library and that doesn’t handle avatar conflicts.
    Dunno why, I guess to avoid too many conflicts.

    Yeah, I forgot about that, but it’s fixed in the new post and now also in this one.


Comments are closed.