Re: [Evolution-hackers] Preconfiguring Evolution with gconftool-2

2009-12-23 Thread Daniele Visaggio
Il giorno mer, 23/12/2009 alle 12.17 +0530, chen ha scritto:
> Hi Daniele,
> The problem is, the values assigned are missing quotes, eg: enable=true
> should be enabled="true". Eg of a corrected string,
> 
> 
> gconftool-2 --set /apps/evolution/mail/accounts --type=list
> --list-type=string "[ \"ak...@ocean.com\" uid=\"1240202518.2907...@linux-adcj\" enabled=
> \"false">akhilak...@ocean.com  uid=\"\"/> auto-check=\"true\" 
> auto-check-timeout=\"10\">imap://ak...@164.99.99.195/;imap_custom_headers;command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd;use_ssl=never;soap_port=7191  
> save-passwd=\"false\">smtp://ak...@164.99.99.195/;imap_custom_headers;command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd;use_ssl=never;soap_port=7191mbox:/home/chen/.evolution/mail/local#Draftsmbox:/home/chen/.evolution/mail/local#Sent  always=\"false\"> always=\"false\"> policy=\"never\"/> always-sign=\"false\" no-imip-sign=\"false\"/>]"
> 
> 
> 
> Once you set the gconf string using gconf-tool. Kill gconf or use
> gconftool-2 --shutdown - for the values for to be synced.
> 
> Try starting evolution from the terminal to see if there are any parsing
> errors. If there arent any, the account setup dialog wont popup.
> 
> - Chenthill.

Thank you Chen! Problem solved!!!

Kind Regards, Daniele


___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Preconfiguring Evolution with gconftool-2

2009-12-22 Thread Daniele Visaggio
Hi guys,

I'm trying to realize a script to preconfigure Evolution for my
enteprise environment.

Now I need to know what information do I have to give to Evolution in
order to have a working configuration. The goal is to open Evolution for
the first time WITHOUT the setup assistant.

So, I ran this command to preconfigure a test gmail account in a fresh
installed system:

###
gconftool-2 --set /apps/evolution/mail/accounts --type=list
--list-type=string "[
Daniele
Visaggiodaniele.visag...@gmail.compop://daniele.visag...@pop.gmail.com/;command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd;use_ssl=alwayssmtp://daniele.visaggio;auth=pl...@smtp.gmail.com/;use_ssl=alwaysmbox:/home/daniele/.evolution/mail/local#Draftsmbox:/home/daniele/.evolution/mail/local#Sent
]"
###

The command worked and, in fact, I red these data into the
~/.gconf/apps/evolution/mail/%gconf.xml file, but when I open evolution
for the first time the data are automatically resetted and the setup
assistant appears.

So, my question:

1) how can I force Evolution to mantain the data I put in with
gconftool-2?

2) Is the configuration of the /apps/evolution/mail/accounts gconf key
sufficient for Evolution to work (obviously limited to the evolution
mail component)?

Thank you in advance,

Daniele Visaggio




___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Meaning of "uid" key in gconf /apps/evolution/mail/accounts

2009-12-20 Thread Daniele Visaggio
Il giorno dom, 20/12/2009 alle 16.31 -0800, George Farris ha scritto:

> Take a look at this:
> 
> http://lists.ximian.com/pipermail/evolution-hackers/2005-April/005427.html
> 
> Not sure what state it's in but it might be a better starting point.

Thank you George,

I already knew evolution-gconf-tool and I tried to install it under
Ubuntu but the make process failed. Moreover the development of this
tool seems stopped from years.

Regards, Daniele

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Meaning of "uid" key in gconf /apps/evolution/mail/accounts

2009-12-20 Thread Daniele Visaggio
Thank you very much Matthew, very clear.

Daniele Visaggio

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Meaning of "uid" key in gconf /apps/evolution/mail/accounts

2009-12-20 Thread Daniele Visaggio
Hi all,

I'm trying to realize a script to autoconfigure evolution in my
enterprise environment. I want to do this using gconftool-2 commands and
not by directly editing evolution configuration files in my home dir.

Right now I'm studing the content of the /apps/evolution/mail/accounts
gconf key and I don't understand the real meaning of the uid field found
in this key. It looks like: uid="12396495851.653...@pastore-desktop".

What is the real meaning of the digits in this field and where does
evolution find them or how does evolution calculate them?


Thank you in advance

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers