Comment 11 for bug 1401916

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Configuration of screens positions and geometry

I think we can (and should) draw a line between display server libraries and permanent config. It doesn't exist in Mir right now so we'd have to have a very good reason to add it.

Instead, Mir does provide structures to fully describe the display config. These structures are read and written to the display server. If you wanted to save a preferred config to disk then it's a simple matter of converting that structure to some nice format and back again. Although I suggest that is not Mir's job.

Similarly, everything else you can configure in Mir has the same problem of how to store preferences permanently. I think the right answer is to push permanent storage up to the shell so that the shell can:
  (a) Provide a nice GUI to change things; and
  (b) Use it's own preferred API. Large toolkits usually provide their own:
    Qt: QSettings
    GTK: gconf/GSettings