|
2011-12-30
, 13:11
|
Posts: 1 |
Thanked: 0 times |
Joined on Nov 2011
|
#2
|
|
2012-02-24
, 14:01
|
|
Posts: 1,312 |
Thanked: 736 times |
Joined on Sep 2009
|
#3
|
|
2012-02-27
, 10:01
|
Posts: 188 |
Thanked: 90 times |
Joined on Sep 2006
|
#5
|
The Following User Says Thank You to aRTee For This Useful Post: | ||
|
2012-03-02
, 13:14
|
Posts: 397 |
Thanked: 185 times |
Joined on Oct 2011
|
#6
|
All right, I managed to remove my junk calendars by:
- Copying the file "db" from /home/user/.calendar to my PC
- Editing the "db" file (it's a SQLite file, so just use GUI/whatever you prefer)
- Copying it back to /home/user/.calendar (don't need root/super user)
How to remove junk calendars from the db file
In the table Calendars, you will see a list of calendars (Device, MfE, caldav). Note down. the CalendarId of the calendars you want to delete. Afterwards, delete the records of those calendars
Then, you have to remove ALL calendar entries in those calendars. Do so by removing the entries in the Components table. You may just want to use SQL commands like DELETE FROM Components WHERE Notebook = '<calendarId>' to save time.
(Tech note: the Notebook column in the Components table stores the calendarId.)
Then save the file, copy it back to your phone and it's done! Tested on my N9, PR1.1.
Jaylst: wanna add this to the tips and tricks? it'll be easier if someone just comes up with a script or something like that though!
|
2012-04-16
, 05:36
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#7
|
|
2012-04-18
, 09:37
|
Posts: 23 |
Thanked: 35 times |
Joined on Feb 2012
|
#8
|
|
2012-05-12
, 10:07
|
Posts: 228 |
Thanked: 100 times |
Joined on May 2010
@ Australia
|
#9
|
Tags |
calendar, poorprogramming |
|
I unsubscribed but the calendars remained in the N9. For a start I think that is unexpected behaviour - if you unsubscribe to the calendar, it should be just gone.
I tried deleting all the events in each calendar (painstaking). Calendars still there in Manage Calendars view.
I tried editing the Calendar and there is no 'Delete' option but I tried giving it a blank name. That resulted in it defaulting to the name 'Calendar'. I then had 3 Calendars each with this same name (since I tried giving a blank name to each).
I then made each of these three Calendars inactive. And now when I try to edit any one of them or click on any one of them or move and one of them back into 'Active', the Calendar application just crashes and quits.
Is there a way of just deleting the calendars in the filesystem somewhere, without screwing up the device?