Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have not used Evolution for long time now and I would like to reset all the settings and start from scratch. How would I be able to do this?

share|improve this question
add comment

3 Answers 3

For version 3.4, as Evolution switched to dconf, a complete cleanup would mean:

evolution --force-shutdown
rm -rf ~/.local/share/evolution
rm -rf ~/.gconf/apps/evolution
rm -rf ~/.cache/evolution
dconf reset -f /org/gnome/evolution/

To be absolutely safe, you may additionally remove all gconf info. If it's not there, it cannot be removed (which is fine in your case as well) -- and if it's still there, you want it removed. For this:

  1. Shutdown gconf: gconftool-2 --shutdown
  2. Check if the gconf daemon process is gone: ps aux | grep gconf
    • if it's still there, kill it: kill -9 12345 (replace "12345" with the PID found)
  3. Let all rockets go, shoot at everything moving:
    sudo gconftool-2 --recursive-unset /apps/evolution
    sudo gconftool --recursive-unset /apps/evolution
    gconftool-2 --recursive-unset /apps/evolution
    gconftool --recursive-unset /apps/evolution

I put the commands with "sudo" first (some howtos mention you must be root for that). After the first gconftool call without sudo, you need to repeat the daemon shutdown, as that command automatically starts it again.

Now let's verify our success:

dconf dump /org/gnome/evolution/
gconftool --dump /apps/evolution

This should now yield empty sets. If you start Evolution at this point, it should bring up the configuration wizard again (did it for me). If not (rare cases reported that), repeat the above, do not yet start Evolution again, but log out (optionally simply reboot to be on the save side), and login again. Now it should have done its job.

Remark: As these steps include/cover everything from gconf and dconf, they should work with all Evolution 3.x versions (previous versions had a different directory structure, so things need to be slightly adjusted for them).

share|improve this answer
    
It's very dangerous, you cause user remove all his/her emailes, It just need to rm .local/share/evolution/camel-cert.db and rm .local/share/evolution/cert8.db –  Mohsen Pahlevanzadeh Oct 21 '13 at 16:57
    
Sure – but that's the idea behind a reset, isn't it? And OP explicitly asked to "start from the scratch" – which wouldn't be possible with your 3 commands, sorry. –  Izzy Oct 21 '13 at 17:02
add comment

All the user related information of evolution is stored in gconf. Removing/moving $HOME/.gconf/apps/evolution should reset evolution settings.

share|improve this answer
add comment

Note: Removing the gconf directory might not work when being in a GNOME session as it is cached. (And for anybody driving by: 3.2 still uses gconf, these steps would be wrong for version 3.4 and newer).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.