[Evolution-hackers] Preconfiguring Evolution with gconftool-2



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 "[<?xml version=1.0?>
<account name=daniele visaggio gmail com
uid=1261512006 2036 16 daniele-laptop
enabled=true><identity><name>Daniele
Visaggio</name><addr-spec>daniele visaggio gmail com</addr-spec><signature uid=/></identity><source save-passwd=true keep-on-server=false auto-check=true auto-check-timeout=10><url>pop://daniele visaggio pop gmail com/;command=ssh%20-C%20-l%20%25u%20%25h%20exec%20/usr/sbin/imapd;use_ssl=always</url></source><transport save-passwd=true><url>smtp://daniele.visaggio;auth=PLAIN smtp gmail com/;use_ssl=always</url></transport><drafts-folder>mbox:/home/daniele/.evolution/mail/local#Drafts</drafts-folder><sent-folder>mbox:/home/daniele/.evolution/mail/local#Sent</sent-folder><auto-cc always=false><recipients></recipients></auto-cc><auto-bcc always=false><recipients></recipients></auto-bcc><receipt-policy policy=never/><pgp encrypt-to-self=false always-trust=false always-sign=false no-imip-sign=false/><smime sign-default=false encrypt-default=false encrypt-to-self=false/></account>
]"
###########################################################################

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






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]