On Thu, 8 Jul 2021 14:34:32 +0200 Jérémy Zurcher <jer...@asynk.ch> said:
what kind of crash? can you tar up your config eg: tar zcvf cfg.tgz .e/e/config so i can look? e will fall back to previous versions if the load of a file fails: e_user_dir_snprintf(buf, sizeof(buf), "config/%s/%s.cfg", _e_config_profile, domain); ef = eet_open(buf, EET_FILE_MODE_READ); if (ef) { data = eet_data_read(ef, edd, "config"); eet_close(ef); if (data) return data; } for (i = 1; i <= _e_config_revisions; i++) { e_user_dir_snprintf(buf, sizeof(buf), "config/%s/%s.%i.cfg", _e_config_profile, domain, i); ef = eet_open(buf, EET_FILE_MODE_READ); if (ef) { data = eet_data_read(ef, edd, "config"); eet_close(ef); if (data) return data; } } and similar for the core e.cfg file (the above would be for module configs). so corrupt, half written, 0 size cfg files will mean falling back to an older config file (e.1.cfg, e.2.cfg, e.3.cfg etc. up to e.9.cfg - then it'll give up). so it must have all of the files corrupt/broken for it to totally fail... > Hi, I've lost all my config after a crash, > > as there are versioned file in .e/e/config I guess it's possible, > but somehow I don't succeed. > > > --- Hell'O from Yverdoom > > Jérémy (jeyzu) > > > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - ras...@rasterman.com _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users