Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Sync iCal with Google Calendar and see Google contacts Apps
GCALDaemon is a free open-source Java daemon designed to help you synchronise your desktop applications with your Google account.

Google Calendar Sync

GCALDameon's first aim seems to be synchronisation from and to your Google Calendar. And you can do that with any application supporting .ics files. This implies not only iCal, but also Mozilla Sunbird, etc. There is a very good step by step tutorial on their site on how to install the daemon and set the configuration file to sync one calendar. It's not clear in that tutorial, but you can sync multiple calendars, you just have to put an index after each configuration key. See the rainlendar tutorial for an example.

GMail Contacts in Address Book

You can also access your GMail contacts across an LDAP interface using this daemon. This is not bidirectional, as you can only consult the contacts registered in GMail, not create/edit/delete any new ones. The configuration is very simple. In the GCALDaemon configuration file, set the key ldap.enabled to true, and set your username and password in the same way as you did for the calendar access. Then launch Address Book, open its Preferences, and go to the LDAP tab. Click the + button to add a new server with the following configuration:
  • name: Gmail
  • server: localhost
  • search base: leave blank
  • port: 9080
  • scope: Base
  • authentification type: none
Now you can select the directory in the first panel of the Address Book and search for contacts in your GMail contacts. You can also use them when composing mails from Mail.app.
    •    
  • Currently 2.62 / 5
  You rated: 5 / 5 (13 votes cast)
 
[192,874 views]  

Sync iCal with Google Calendar and see Google contacts | 14 comments | Create New Account
Click here to return to the 'Sync iCal with Google Calendar and see Google contacts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sync iCal with Google Calendar and see Google contacts
Authored by: mekanic on Mar 12, '07 11:06:01AM

The instructions on their website worked well for me, with one exception. Lingon did not add the net.sf.gcaldaemon plist to my launcd list for some reason.

I had open Terminal, go to ~/Library/Launch Agents and do:

launchctl load net.sf.gcaldaemon

Then it worked perfectly.



[ Reply to This | # ]
Spanning Sync
Authored by: demmer12 on Mar 12, '07 11:34:17AM
A friend shared Spanning Sync w/ me recently. While it doesn't sync contacts, it syncs iCal and your Google Calendar very well.

[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: ars on Mar 12, '07 12:11:26PM

This looks very promising as Spanning Sync will become a paying service. However I could not make it work with an existing calendar. I got the following error:
2007-03-12 14:57:24 | WARN | Synchronizer | Number of reversible events limit exceeded: 366

Any suggestion what this is about?



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: awss on Mar 13, '07 04:42:11AM

I have the same problem and found out that you can only apply 10 events for each sync. In the end, I created a empty Cal and moved from my current one to the new one 10 by 10 events. Set progress.enabled=true to help you.

Be patient and good look.



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: dimpared on Mar 12, '07 03:52:23PM

Does anyone have a solution that will allow this to run in the background as opposed to always running in the dock? Thanks.

-dimpared



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: rossr on Mar 15, '07 03:01:16AM

I believe that the Java app only pops up in the dock if you set the 'progress bar' setting to TRUE in the configuration file. My guess is that the app needs to be active (on the dock) so it can render the progress bar... I hope that helps!



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: dimpared on Mar 16, '07 05:24:45PM

You are correct sir! Thank you very much!



[ Reply to This | # ]
Anyone figure out how to make this "on demand"?
Authored by: rossr on Mar 15, '07 03:09:23AM

I have installed and configured GCALdaemon on my Powerbook and it seems to work great, but I'm not too thrilled at the thought of this process running in the background doing its thing at seemingly random intervals. I'm wondering if anyone has figured out how to invoke a GCALdaemon sync command "on demand"...

For example, it would be nice to run a shell script (that I can invoke at will) that starts up this daemon to sync iCal to my Google calendar, then quits the daemon until I am ready to sync again (or use a program like Lingon to run the sync command from time to time...).



[ Reply to This | # ]
Anyone figure out how to make this "on demand"?
Authored by: dimpared on Mar 16, '07 05:27:17PM
You can use Platypus (http://www.sveinbjorn.org/platypus) to wrap standalone-start.sh into an App, but this will still launch it in the background.

-- dimpared

[ Reply to This | # ]
Anyone figure out how to make this "on demand"?
Authored by: ShadowBottle on May 28, '07 12:50:54PM
"Sync-on-demand: This feature is a variant of the offline/dial-up mode. When you launch the 'GCALDaemon/bin/sync-now.sh' script, GCALDaemon synchronize your calendar files, then stop. You can create a shortcut icon on your desktop for the script, or you can combine it with Lingon. The 'sync-now' script knows less than the service-based offline synchronizer (LDAP, etc), but this mode is the optimal for systems with less than 256 MB of RAM."

http://gcaldaemon.sourceforge.net/usage13.html#offline

Read the friendly manual?

[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: jedverity on Mar 28, '07 09:13:16PM

this is awesome. no need to pay for spanning sync. one question, though: i don't have the progress bar enabled, but still the java applet shows in the dock. any way to avoid this?

many thanks!



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: dspeake on Apr 11, '07 03:08:32PM

I believe this shows up if you have other options enabled too, like email notify.



[ Reply to This | # ]
Sync iCal with Google Calendar and see Google contacts
Authored by: rodl2 on Dec 18, '07 02:17:08PM

I just tried this and it works great!

I didn't have the problem one poster did using Lingon, however the newest version is Leopard only and I had to download the older version to run on Tiger.

I also didn't have the problem one poster did in getting GCALDaemon to sync an existing iCal calendar, I think a newer version of the app has been released since this hint was originally posted.

---
"He who limps still walks." -Stanislaw Lec

Firefox: Rediscover the web
http://www.getfirefox.com



[ Reply to This | # ]
Tiger iCal Google Calendar Leopard iCal?
Authored by: thuldai on May 20, '08 06:03:50AM

Does anybody know if this works even between Tiger and Leopard, i.e. can I sync iCal on my Tiger Mac with Google Calendar (two-way) and sync iCal on my Leopard Mac with Google Calendar (two-way) at the same time?

As they changed the way that iCal stores its information, I cannot sync them directly anymore (using rsync and a UNIX server in between) as I used to.

Thanks for any hints.

TD

[ Reply to This | # ]