One gripe I've had since the beginning of Gmail is that I cannot access my Gmail contacts from any LDAP-supported address book — until GCALDaemon. It's a daemon that, among other things, translates LDAP requests from a local client (e.g. Mozilla Thunderbird) to gmail.com HTTP requests. A bonus feature for me (though this seems to actually be the main feature of GCALDaemon) is that I get two-way synchronization with my Google Calendar now too. GCALDaemon is available for Linux, OS X, and Windows, though the developers are obviously Windows centric — the Linux release comes as a zip file (no .deb, .rpm, or even tarball) and then you are instructed to add execute permissions the the shell scrips as part of the manual installation process! It also lacks an init script, so I wrote a simple one to get the job done (Assumes you unpacked the zip file to /opt):
#! /bin/shfor getting up and running quickly. So why are Gmail contacts only almost accessible? Only email addresses and phone numbers seem to supported by GCALDaemon, not postal addresses.
# /etc/init.d/GCALDaemon
#
# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting GCALDaemon ..."
start-stop-daemon --start --pidfile /var/run/GCALDaemon.pid \
--chuid nobody:nogroup --background --make-pidfile \
--exec /opt/GCALDaemon/bin/standalone-start.sh
;;
stop)
echo "Stopping GCALDaemon ..."
start-stop-daemon --stop --pidfile /var/run/GCALDaemon.pid --user nobody
;;
*)
echo "Usage: /etc/init.d/blah {start|stop}"
exit 1
;;
esac
See also:
- noogies.org for some Linux installation tips
- Mozilla Lightning, a plugin for Thundird to get calendaring integrated with mail reading
No comments:
Post a Comment