hackle577
November 17th, 2007, 01:07 PM
UPDATE: I cannot get this to work in Hardy due to several complicated (and probably conflicting) autorun options. If you get it functioning somehow, please PM me.
If you’re constantly on the go (and who isn’t these days?), you know that having an up-to-date schedule with you at all times is a valuable asset. Some people keep their calendars in day planners, others use their PDA’s or cell phones, but for the oddballs out there who want to keep their schedule on their iPod too, here’s how:
1. Browse to your Google Calendar. Go into Settings, then the Calendars tab, and click the name of the calendar you want to sync. At the bottom, to the right of Private Address, you'll see a green ICAL button.
http://ubuntuforums.org/attachment.php?attachmentid=67343&stc=1&d=1209229650
Right-click that button and select Copy Link Location.
2. Open up your favorite text editor and type “wget -N” and then paste your iCal URL. The end result should look something like this:
wget http://www.google.com/calendar/ical/emailaddress%40gmail.com/private-hash/basic.ics
3. On the next line, type this:
mv -f basic.ics /path/to/your/ipod/Calendars
You will need to replace that fake path with the actual path to the Calendars folder on your iPod, which may be something like “/media/ipod/Calendars”.
5. Save the text file as “syncgoocal.sh”.
6. Now we need to move the script and let it run as a program. In terminal, type these two commands:
sudo mv syncgoocal.sh /usr/local/bin
sudo chmod +x /usr/local/bin/syncgoocal.sh
7. Now that we’ve created the script, we need to set it to run automatically when you plug in your iPod. Go to System > Preferences > Preferred Applications. Under the Multimedia tab, you should see and entry for a Multimedia Player. Change the combo box to "Custom" and type:
/usr/local/bin/syncgoocal.sh
Then click close.
-------------------------------------------
Your iPod’s calendar will now be synced to your Google Calendar every time you plug it in. Enjoy! Credit goes to Peter Howe for the original idea (http://www.xenzero.com/blog/2007/10/06/sync-google-calendar-with-ipod-on-ubuntu-linux/).
To undo: Simply run "sudo rm /usr/local/bin/syncgoocal.sh" and remove the script's entry in the Removable Drives and Media options box.
Tested on Ubuntu Gutsy 64-bit and an iPod Video (5th generation)
If you’re constantly on the go (and who isn’t these days?), you know that having an up-to-date schedule with you at all times is a valuable asset. Some people keep their calendars in day planners, others use their PDA’s or cell phones, but for the oddballs out there who want to keep their schedule on their iPod too, here’s how:
1. Browse to your Google Calendar. Go into Settings, then the Calendars tab, and click the name of the calendar you want to sync. At the bottom, to the right of Private Address, you'll see a green ICAL button.
http://ubuntuforums.org/attachment.php?attachmentid=67343&stc=1&d=1209229650
Right-click that button and select Copy Link Location.
2. Open up your favorite text editor and type “wget -N” and then paste your iCal URL. The end result should look something like this:
wget http://www.google.com/calendar/ical/emailaddress%40gmail.com/private-hash/basic.ics
3. On the next line, type this:
mv -f basic.ics /path/to/your/ipod/Calendars
You will need to replace that fake path with the actual path to the Calendars folder on your iPod, which may be something like “/media/ipod/Calendars”.
5. Save the text file as “syncgoocal.sh”.
6. Now we need to move the script and let it run as a program. In terminal, type these two commands:
sudo mv syncgoocal.sh /usr/local/bin
sudo chmod +x /usr/local/bin/syncgoocal.sh
7. Now that we’ve created the script, we need to set it to run automatically when you plug in your iPod. Go to System > Preferences > Preferred Applications. Under the Multimedia tab, you should see and entry for a Multimedia Player. Change the combo box to "Custom" and type:
/usr/local/bin/syncgoocal.sh
Then click close.
-------------------------------------------
Your iPod’s calendar will now be synced to your Google Calendar every time you plug it in. Enjoy! Credit goes to Peter Howe for the original idea (http://www.xenzero.com/blog/2007/10/06/sync-google-calendar-with-ipod-on-ubuntu-linux/).
To undo: Simply run "sudo rm /usr/local/bin/syncgoocal.sh" and remove the script's entry in the Removable Drives and Media options box.
Tested on Ubuntu Gutsy 64-bit and an iPod Video (5th generation)