![]() |
N900 - Where is Modest configuration file and how to place a download limit there?
Hello
I've been suffering from a bad email client (Modest) since I've bought my N900. Since it seems that there won't be any improvements for POP3 expensive data plan users like me, I decided to take a look at Modest's code. I've found that it does check for a value called MODEST_CONF_MSG_SIZE_LIMIT when looking for which messages to download. So the question is: How do I specify the message limit? Does anyone know where are modest settings stored and how to change them? Thanks |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Bump.
Does anybody know where and how the email configuration is stored in the fiesystem? |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
No luck so far. I've searched in the usual folders: ~/.config and others and still no luck.
I don't have experience with either Gnome or GTK+, so I'm guessing Modest is using some sort of configuration framework. Does anybody know anything about it? |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
where did you find the source code for modest??
|
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Quote:
http://modest.garage.maemo.org/ |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
look into /var/lib/gconf/apps/modest/%gconf.xml
there's an entry named msg_size_limit |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Quote:
|
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Quote:
|
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Bump again.
I messed up some settings in Modest, and I tried to change something in the file Aydan mentioned, but to no avail. Then I renamed the directory /var/lib/gconf/apps/modest to /var/lib/gconf/apps/email.old or something like that so Modest would get confused and start asking me things when I started it up. That was my idea, at least. To my surprise, it started with no problems and with all the settings it had before! No new directories were made in /var/lib/gconf. So my question is now: where can I find the real configuration files for Modest? Or how can I bring Modest back to its let's say, factory configuration? |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Is there any possibility to have different update times for WIFI and 3G networks?
While at home, I would like it to update frequently (like 15 or at most 30 min). But using that values over a 3g network will drain my battery fast. Tryed to edit tthe config file by hand, but it seems that theres no way to do it.. :( |
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. |
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.) |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Quote:
One further question if this did work were the units in bytes? Many thanks in advance |
Re: N900 - Where is Modest configuration file and how to place a download limit there?
Quote:
|
All times are GMT. The time now is 13:30. |
vBulletin® Version 3.8.8