height8

About


height8 on AppDotNet @height8 on Twitter height8 on Github

BUY/SELL

Wanted: DEC LA36/LA120 DECwriter II Terminal


INFO

Wi-Fi Security

Where to eat in Toronto

Mono UnixSignal Handler

Missing method .ctor in MySql.data.dll

Turning on named / BIND / DNS server

Turning off Mac Address Book in Thunderbird


Turning off unrequested integration in Thunderbird on OS X

www.height8.com/?thunderbird_ldap_2_osx

Last update: Dec 9 2010 16:15 EST


Thunderbird 3.x on Mac OS X automatically adds the contents of your Contacts as an Address Book in Thunderbird as "Mac OS X Address Book". If you are like me, you've spent a good deal of time honing your multiple address books in Thunderbird, and don't appreciate the autocomplete confusion that results when your Contacts are thrown in.

There are two easy methods for getting rid of it.


Right-click and delete

Obviously you could just right click on "Mac OS X Address Book" in your list of Address Books in Thunderbird and click on Delete. This deletes the Address book and places an entry in ~/Library/Thunderbird/Profiles/?????.default/prefs.js:

user_pref("ldap_2.servers.osx.position", 0);

If you decide you want the "Mac OS X Address Book" back again, exit Thunderbird, modify ~/Library/Thunderbird/Profiles/?????.default/prefs.js and remove the line (above). Start up Thunderbird, and "Mac OS X Address Book" will be back.


Removing the defaults

You can also remove the unrequested integration by removing it from Thunderbird's defaults. You only need to comment out three lines in /Applications/Thunderbird.app/Contents/MacOS/defaults/pref/mailnews.js

//@line 814 "/builds/slave/macosx_build_31/build/mailnews/mailnews.js"
//pref("ldap_2.servers.osx.uri", "moz-abosxdirectory:///");
//pref("ldap_2.servers.osx.description", "chrome://messenger/locale/addressbook/addressBook.properties");
//pref("ldap_2.servers.osx.dirType", 3);
pref("mail.notification.sound",             "");
pref("mail.notification.count.inbox_only", true);
//@line 833 "/builds/slave/macosx_build_31/build/mailnews/mailnews.js"

Unfortunately, using this method, you'll need to do this each time Thunderbird does a full upgrade as the defaults file is refreshed.