Questions? Comments? Email faq-kopi [at] tucuxi [dot] org
KO/Pi and KOrganizer synchronisation
It's rather simple to get KO/Pi and KOrganizer talking nicely over the LAN, provided you've got network connectivity on your Zaurus. Here's what you need to do:
- Generate yourself a private/public keypair on the Zaurus. When using OpenZaurus, dropbearkey is the command you'll want. For a 1024-bit RSA key:
root@borzoi# dropbearkey -t rsa -f /home/root/db_key -s 1024 - You'll get a public key string suitable for SSH's authorized_keys in the form:
ssh-rsa AAAAB3NzaC1yc2EAAAA......zYuf7s+OCRk5+Jdol.
Bang this in your desktop machine's ~/.ssh/authorized_keys. - Connect to the desktop via ssh from the Zaurus to ensure the host key's on file. Say yes to the host key fingerprint prompt.
- Fire up KO/Pi. Click on the menu button, then Synchronize/Configure...
- Click New Profile, name the profile, and set up the synchronisation options as wanted. Scroll right down to the bottom, to the Profile Kind box, and select Remote file (w down/upload command).
- Under pre sync (download) command for calendar, enter:
scp -i /home/root/db_key myuser@hostname.example.com:/home/myuser/.kde/share/apps/korganizer/std.ics /tmp/mycalendar.ics - For the post sync (upload) command for calendar, enter:
scp -i /home/root/db_key /tmp/mycalendar.ics myuser@hostname.example.com:/home/myuser/.kde/share/apps/korganizer/std.ics - Ensure KOrganizer's closed on the host, and click the menu button for KO/Pi, then Synchronise, then the profile as entered earlier. Enjoy!
