[maemo-developers] unwanted alarms for calendar events

From: Edward Johns ejdomreg at gmail.com
Date: Sat Mar 27 15:57:30 EET 2010
On 27 March 2010 12:23, Eric Cooper <ecc at cmu.edu> wrote:
> [I didn't get any response to this on maemo-users, so I'm trying
> here.]
>
> I synchronize my N900 calendar with my Google Calendar using MfE
> (manually).  I seem to be getting alarm notifications before every
> event now, even though I don't have them on my Google Calendar, and
> neither the graphical display of the event on the N900 nor the details
> under "Edit Event" show any alarm.  It's very annoying (especially for
> thos all day events that start at midnight!)  Any suggestions for how
> to turn it off? I almost never use alarms, so even a global "disable
> all alarms" would be OK.
>
> --
Hi Eric,
I'm not sure how "techie" you want to get with this. I had a similar
requirement to disable alarms from a specific sync'd calendar (for the
same "midnight wake up" problem).
I didn't find a friendly way to do it so I ended up making a little
Python script which I run after doing a manual sync.
I've made it available to download here:

http://www.projectenormous.com/stuff/clearalarms.py.txt

It's for my own use so I've made no attempt to make the process user friendly.
You'll need to install python and python-alarm. It needs to be run as root.
You'll also need to change the CalendarID in the sql statement to
match your calendar. You can find that from the calendardb (which is
in /home/user/.calendar) using the sqlite3 command line tool (or
something more friendly if you like):

 sqlite3 /home/user/.calendar/calendardb "SELECT * FROM calendars"

The process may be a little over the top for your needs so If somebody
has a more user friendly way to achieve this I'd be delighted to find
out. It does work though.
I've glossed over a lot of the detail there because I don't know how
much you already know. Feel free to ask for more help if you need it.

Regards,
Ed.
More information about the maemo-developers mailing list