| The Following 15 Users Say Thank You to Jare For This Useful Post: | ||
anla, DrWilken, Jordi, jukey, magullo, mariusmssj, meemorph, mind_the_gap, minimos, peterleinchen, pycage, ric9K, skanky, uber, xaccrocheur | ||
|
|
2014-02-28
, 07:34
|
|
Posts: 951 |
Thanked: 2,344 times |
Joined on Jan 2012
@ UK
|
#2
|
![]() |
| Tags |
| caldav, calendars, syncevolution |
|
1. Adding more calendars to the device
[nemo@thefish ~]$ python Python 2.7.5 (default, May 09 2013, 12:34:56) [GCC 4.6.4 20130412 (Mer 4.6.4-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import uuid >>> uuid.uuid4() UUID('f577b6fa-73af-4d3c-ad80-68aeebfed0ff') >>> exit()The generated UUID goes into the first field, calendar name is in the second field and calendar description is in the third field. The calendar description is the only field that is shown in the Jolla Calendar app. I suggest that you keep the other fields as they are in the example, if you're not 100% sure of what they are for.
sqlite> insert into Calendars values('f577b6fa-73af-4d3c-ad80-68aeebfed0ff','Holidays','My Holidays','#000000',151,0,null,null,-1,1393542815,null,null,1393542815,null,null);2. Synchronizing the calendars by using Syncevolution
The added calendars will show up as calendar store entries in the Syncevolution app. However the app doesn't yet provide a way to add multiple calendars into a single webdav service entry, which means that you would need to create one service entry per calendar. And it's kind of meaningless, if all calendars are synced from the same server. Anyway it is possible to do this from the terminal, and afterwards it's possible to edit the entries using the app.
Check that the created calendars are seen by syncevolution.
syncevolution --print-databases CalDAV: select database via absolute URL, set username/password to scan, set syncURL to base URL if server does not support auto-discovery (<path>) CalDAVTodo: select database via absolute URL, set username/password to scan, set syncURL to base URL if server does not support auto-discovery (<path>) CalDAVJournal: select database via absolute URL, set username/password to scan, set syncURL to base URL if server does not support auto-discovery (<path>) CardDAV: select database via absolute URL, set username/password to scan, set syncURL to base URL if server does not support auto-discovery (<path>) mkcal-events = mkcal = KCalExtended = MeeGo Calendar: Default (uid:b49fb636-018e-4e1f-9d76-40793917bad0) <default> Holidays (uid:f577b6fa-73af-4d3c-ad80-68aeebfed0ff) Birthdays (uid:b1376da7-5555-1111-2222-227549c4e570) Facebook (uid:5990166d-8d26-417c-aac1-1e92bce8ec14) QtContacts = qt-contacts: org.nemomobile.contacts.sqlite (qtcontacts:org.nemomobile.contacts.sqlite:) <default> invalid (qtcontacts:invalid:) memory (qtcontacts:memory:)The name of the service entry is the same as in the Syncevolution app ("example" in this case). So change it accordingly.