Active Topics

 


Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#1
Hi all, i'd like to understand which way the mail autocheck is scheduled in maemo.
i mean, where is the queue of the events to be triggered and which one is the command triggered to start the mail check at specified intervals?(using modest, the default mail client).
i have seen there is no crontab installed by default, so there must be a queue in some other plase, maybe via dbus?

this question because i'd like to check if it is possible to change the executable or the script triggered, to add a script done by myself, to fire up the data connection before attempting to check the email, because if i have the connection down, the check won't happen, and i want connection down, unless the mail goes for a check.
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#2
i found this
dbus-send --session --type=method_call --dest=com.nokia.osso_email /com/nokia/osso_email com.nokia.osso_email.send_and_receive

but it's not working...also inthe guide i found it's written it's not working, and trying it doesn't trigger a send/receive.

i this dbus call changed in the latest maemo version?
the only thing that comes out in dbus-monitor is:

signal sender=org.freedesktop.DBus -> dest=(null destination) serial=57 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.107"
string ""
string ":1.107"
method call sender=:1.107 -> dest=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=58 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.107"
string ":1.107"
string ""
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#3
i found that the correct dbus call is:

dbus-send --session --type=method_call --dest=com.nokia.modest /com/nokia/modest com.nokia.modest.SendReceive

but doesn't work, as written in the bug filed here:
https://bugs.maemo.org/show_bug.cgi?id=7834

anyone can help me?
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#4
Still no solution for this? I'm writing a wrapper that uses notification via SMS to engage a Modest sync.

Thanks.

Last edited by hawaii; 2010-03-04 at 18:43.
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#5
the bug status is still unsolved...so no solution for now..the dbus command is right, i checked in the source code for modest,but the trigger doesn't work...
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#6
Which is strange, because if you run dbus-monitor, you can see that alarmd uses the same call to trigger sendrecieve (when you have automatic update enabled) and gets the same error, and yet the send-recieve actually takes place.
 
Posts: 6 | Thanked: 0 times | Joined on Feb 2010
#7
that's right..but for me the auto send-receive doesn't take place always even with opened connection,and maybe the problem is the same..don't know..
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#8
Can we do this another way? What I would like to do is open modest and automatically navigate to a specific folder. There is nothing I can see in dbus that would accomplish this, so could it be done with gtk messages?
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#9
Seems to me that it would be possible to (where there isn't dbus calls available) use xlib event sends to make things happen on the desktop.

For example, if I wanted to have a desktop shortcut that opened modest at a particular folder, bringing modest into focus, then simulating button presses with xevents could get us to the folder.

Perhaps a passing dev could point out how feasible this would be...
 
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#10
I know this threat is kind of old, but I would have thought that the issue would be solved. Really needed to trigger a send/receive from the command line. Maybe someone knows a workaround?
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:01.