[07:01] morning [07:02] Morning marcustomlinson === pstolowski|afk is now known as pstolowski [07:03] duflu: hey, how are you? [07:03] marcustomlinson, going well. You? [07:03] pretty good today thanks :) [07:03] relaxing weekend [07:48] morning all [07:51] Morning willcooke [07:52] I suspect "all" is few [07:53] morning willcooke [07:56] hi duflu marcustomlinson [07:56] yeah, lots of public hols today [07:57] morning from Italy! [07:58] Hi Trevinho, not on holiday today as well? [07:59] Hi Trevinho. Thanks for landing things... some of it was past a year old :/ [08:01] As luck would have it I was thinking about those last night. I must have sensed you [08:01] yo [08:01] Hi Laney [08:02] hey Trevinho and Laney [08:03] willcooke: no, no... in-da-house [08:03] duflu: np [08:03] and hi duflu, marcustomlinson and Laney [08:04] o m g [08:04] moin duflu marcustomlinson Trevinho [08:05] Trevinho, do the other residents remember you? [08:05] :) [08:07] duflu: no, we did presentations before xD [08:21] Trevinho: what's the next travel plan? [08:26] Good morning, Laney! Time to talk about https://code.launchpad.net/~gunnarhj/ubuntu/+source/gnome-settings-daemon/+git/gnome-settings-daemon/+merge/368409 ? As a first step I'd like to know if the approach is reasonable. [08:29] Laney: calm a bit... then Sardinia and some more southern italy. As I've to show the best to Dayana :-) [08:30] :> [08:32] GunnarHj: what is initial setup doing when it runs? [08:32] isn't it putting things in KEY_INPUT_SOURCES ? [08:33] Laney: Not on Ubuntu, AFAIK. [08:33] Laney: And it doesn't run when you "Try Ubuntu". [08:34] I'm thinking that it looks weird to test for how something was done rather than what it did [08:34] and the previous code looks (to me) like it did the latter [08:35] Laney: The idea is to make sure that the function runs 1. when you "Try Ubuntu" and 2. at first login. The file in ~/.config comes in hande to achieve that. [08:36] s/hande/handy [08:37] so what you're doing is running that add_ibus thing even when there are some input sources already defined [08:37] on the first login and the live session [08:37] Laney: Yes. [08:38] do we know what it's set up with and in what way it's not sufficient? [08:38] how is that set up? casper/ [08:38] ? [08:40] Laney: I don't much about the code involved in the installer. One weird thing is that it behaves differently if you launch "Try Ubuntu" from the Ubiquity welcome screen compared to when you "Try Ubuntu before installing" from the isolinux menu. The bug is only present for the former case. [08:43] Laney: But keyboard configuration in general is a can of worms. My hope is that we can make this attempt to at least make sure that an IBus method is present for Chinese, Japanese, etc. live sessions. [08:48] GunnarHj: What do you think about checking if it's maybe_convert_old_settings() grabbing it from somewhere? I can see references to the (old?) org.gnome.libgnomekbd.keyboard schema in casper and ubiquity, at least. [08:48] I'd be happier if we knew why it was getting set up wrongly, and ideally if we could fix that place directly [08:49] I guess it'd be possible to add some debugging into that function to see what it's doing [08:52] Laney: One question is what's the most right or wrong way wrt the XKB layouts. But isn't answering that question beyond the scope of the bug, which is only about a missing IBus method? [08:53] I'm trying to identify why the existing call to add_ibus_sources_from_locale() isn't happening - presumably because the 'old' settings are being set up [08:53] If that's true, then it might be the right fix to have maybe_convert_old_settings() call add_ibus_sources_from_locale() [08:55] maybe_convert_old_settings() makes a stamp file so it only runs one time [08:57] Laney: But why would maybe_convert_old_settings() run when you "Try Ubuntu" from the Welcome screen but not from the isolunux menu? [08:58] I can guess [08:58] The "Try Ubuntu" screen runs a desktop environment to show you the GUI [08:58] as part of that it starts up a few g-s-d bits [08:58] Guess is that this causes the stamp file to be created (because it runs that function), and it's not run a second time when you click "Try Ubuntu" to start GNOME Shell [08:59] second guess would be that something actually does directly set up the input sources [09:00] Laney: My hope was to avoid to dig too deep into this. :) [09:01] Laney: Especially since I don't know how you test things involving the installer. [09:02] Try moving add_ibus_sources_from_locale() into maybe_convert_old_settings() and see what happens [09:02] oh, how did you test this then? [09:04] Laney: I have tested on an existing install, and kind of simulating first Chinese/Japanese logins. But that kind of test could well be done if I move the call into maybe_convert_old_settings(). [09:04] * Laney nods [09:05] Make sure it goes towards the end of the function, so all the other bits get run too and it respects the stamp file [09:05] Laney: Ok. Didn't notice the stamp file before. Will probably do so now. [09:07] 👍 [09:08] * Laney needs to go back to juju land for a bit now [09:08] Laney: Thanks for input! === pstolowski is now known as pstolowski|afk [17:11] night all