Re: unwanted alarms for calendar events

2010-03-27 Thread Edward Johns
On 27 March 2010 12:23, Eric Cooper  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.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Running a script after MfE syncs

2010-03-24 Thread Edward Johns
Hello,
I'd asked this once before but got no response. I'm going to risk the
wrath of posting again just in case it was missed my the one person
who may be able to help.
I need to automatically  run a script after Mail For Exchange finishes
a sync; does anybody have any pointers as to how I might do that
please?

Many Thanks,
Ed.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Calling a script after MfE sync

2010-03-19 Thread Edward Johns
Hello,
I've been trying to find a way to not get alarms set when I sync with
a specific calendar. I've ended up writing a little sql script which
will remove them from the calendar's sqlite database which I can run
after a manual sync.
What I'd like to do is have that script run automatically after a sync
happens (even if it's an automatic sync). I'm guessing I might be able
to use a dbus service file, either by replacing the one which runs the
sync with one which runs some script to run the sync followed by my db
update script or a new one  to run something when the sync happens.

I'm not really sure where to start though; Does it sound feasible?
How can I find out which dbus messages and executables/services are
involved in the Mfe exchange process?

Ed.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [New Developer]: Questions - Python Packaging / Free or Non-Free / Software Licensing

2010-02-08 Thread Edward Johns
> 1) non-free package
> ~~~
>  * Create a non-free (i.e. binary) package which contains your API
>    keys encrypted in some way (perhaps just XORing the values) and
>    a small C program which decrypts them.
>
Rather than an external c program you could consider making a c
extension that you can import into Python.

Take look at cython (I seem to remember a tutorial on this in the pymaemo pages)

Ed
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Source Code Availability

2010-02-05 Thread Edward Johns
Hello,
I sort of (possibly naively) expected to be able to see the source
code for anything that is available in any of the maemo.org
repositories but, unless I missing something, that doesn't seem to be
the case. Some packages in maemo.org > packages  have a link to the
source, some don't.

Am I looking in the wrong place or is making source available not a
requirement for submission to the repositories? (I'll admit at this
stage that I've not looked into the repository submission process
yet).

Regards,
Ed.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-devel] List emails subject prefix

2010-01-20 Thread Edward Johns
>
> A prefix like [maemo-dev] isn't that long, on the n900 you still have enough 
> room for a long subject if you like.
>
A prefix of [md] as suggested by Aldon is even shorter and would still
be useful.
Lack of screen is space is actually one of the reasons I like the
prefix. If the whole subject line isn't visible on the screen one can
still tell roughly what the mail relates to.
It makes subject lines like "Help-build failure on ma..." a little
less distressing (for me at least!)

Ed.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-devel] List emails subject prefix

2010-01-19 Thread Edward Johns
Sorry Aldon, I must apologise.  I was amazed at that response at first
but having read it back I noted the sarcasm.
Obviously a little too subtle for me in my sleep deprived state! Sorry
for the over reaction.

2010/1/19 Edward Johns :
> 2010/1/19 Aldon Hynes :
>> Good idea, let's try to restrict the development community to only people 
>> that have 'proper email clients'
>>
>> 
>
> Consider yourself restricted. I've been a member of several high
> profile foss developer communities and this is the worse welcome I've
> ever been given.
> Hopefully I will get a chance to return to this forum when it is a
> little more mature.
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-devel] List emails subject prefix

2010-01-19 Thread Edward Johns
2010/1/19 Aldon Hynes :
> Good idea, let's try to restrict the development community to only people 
> that have 'proper email clients'
>
> 

Consider yourself restricted. I've been a member of several high
profile foss developer communities and this is the worse welcome I've
ever been given.
Hopefully I will get a chance to return to this forum when it is a
little more mature.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


[maemo-devel] List emails subject prefix

2010-01-19 Thread Edward Johns
Hello,
I feel a little cheeky asking this when I've only just joined the list
but I was wondering if anybody else thinks it is a good idea to have
mails to this list (and the other maemo lists) prefix the subject line
with the name of the list. This is a technique used on most other
lists I subscribe to and can be done automatically by Mailman (using
the subject prefix option in the list personality settings).
It is a great help to those of us subscribed to several different
lists that we access via different clients.

I have manually set the subject of this post as an example.

Any takers?

Regards,
Ed.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers