We send one call to tell e to stop keeping control of the configuration files. Decompile, make changes, recompile the configuration files and then send another dbus call to tell e to take over the configuration files again.
It is messy, but it mostly works and is far faster than building a dbus extension for every possible configuration option we might want to change. On Feb 14, 2017 8:09 AM, "Gustavo Sverzut Barbieri" <barbi...@gmail.com> wrote: > On Tue, Feb 14, 2017 at 11:33 AM, Jeff Hoogland <jeffhoogl...@gmail.com> > wrote: > > I'm looking to do editing of configuration files. As Kai linked above we > > have code in our fork to make it safe to edit configuration files while E > > is running, > > and how do you synchronize E pending/delayed writes with your own > pending writes? There is a huge potential for race condition, > particularly due the number of configuration files and lack of a > defined protocol to inform when they will be written and how... As > Carsten said, it's not supposed to be like that. > > Do you want some configuration that is not available over D-Bus? That > would be the recommended automation way, requires no synchronization > and would be effective automatically without hacks. > > > -- > Gustavo Sverzut Barbieri > -------------------------------------- > Mobile: +55 (16) 99354-9890 > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel