maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   N900 - Where is Modest configuration file and how to place a download limit there? (https://talk.maemo.org/showthread.php?t=59218)

reinob 2011-10-27 08:44

Re: N900 - Where is Modest configuration file and how to place a download limit there?
 
@tsa,

The stuff in /var/lib/gconf is supposed to be edited by using gconftool, not just editing things by hand. Think of the Windows registry. You just don't go around flipping bits here and there, but use the registry editor.

reinob 2011-10-27 08:53

Re: N900 - Where is Modest configuration file and how to place a download limit there?
 
@xtv,

You'd need to change the /apps/modest/update_interval gconf entry.

*** UNTESTED ***

$ gconftool -s /apps/modest/update_interval -t int 30

That would set the update interval to 30min. Then you can use some DBUS magic to set that value depending on the connection type.

@tsa,

Same thing, but with /apps/modest/msg_size_limit (type is also 'int', not sure about scale (byte, kb, etc.)

igualada 2011-10-27 10:12

Re: N900 - Where is Modest configuration file and how to place a download limit there?
 
Quote:

Originally Posted by soeiro (Post 766541)
Thanks. I've changed it now. I'm assuming the value is specified in bytes. Let's see if it works.

Before I change the "msg_size_limit" value from "0", I was wondering whether the change you made worked for you?

One further question if this did work were the units in bytes?

Many thanks in advance

lma 2011-10-28 03:57

Re: N900 - Where is Modest configuration file and how to place a download limit there?
 
Quote:

Originally Posted by xtv (Post 1114046)
Is there any possibility to have different update times for WIFI and 3G networks?

Sounds like a job for woodchuck. Perhaps someone will write a patch for it?


All times are GMT. The time now is 22:16.

vBulletin® Version 3.8.8