-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difficult to bootstrap the display
config option
#20
Comments
Once the display layout is set we don't handle subsequent changes to the physical outputs very well. For now, I'd rather we "opt in" by manually setting a configuration. But I'm very open to ideas for improving this. |
Well, since the file is written by ubuntu-frame anyway, it's not really opt-in, is it? |
Well, Mir won't write that file until it runs as a daemon for the first time. As an example, I don't have it on my system. |
Sure, but on Ubuntu Core, just installing |
Right, but when do you envisage setting it? There's no file until after Mir has run as a daemon for the first time, so dumping We probably want Mir to do some better change management (e.g. adding any new devices it encounters). And maybe have a "dump out the display config and exit" option too. |
Maybe we don't set it, but also don't store the file? At least not in a place that makes it the config? Like, always save it on startup (and thus, deal with hardware changes). |
Ah! Yeah, it is a bit weird moving it out of the way only in the configure hook. You'd be happy if we move the |
But isn't |
Yes, if At present, if Hypothetically, "if |
It's currently difficult to retrieve the defaults for
frame.display
. We point at/var/snap/ubuntu-frame/current/frame.display
, but that's an internal detail.It would be good to
snapctl set display …
with the default config, since that what ends up in there anyway?The text was updated successfully, but these errors were encountered: