/srv/irclogs.ubuntu.com/2024/12/01/#kubuntu-devel.txt

BluesKajHi all12:06
IrcsomeBot<RikMills> https://www.reddit.com/r/Kubuntu/comments/1h3wa0m/anyone_using_kubuntu_focus/15:14
arraybolt3so, I have some extra free time today, poking my head in to see if there's anything in Kubuntu-land I can be helping with. I remember RikMills was talking about keyboard layout support on the OEM installation screen15:45
arraybolt3er, not OEM installatino, but the installer prompt15:45
RikMillsarraybolt3: yeah, I haven't looked at that yet. if you could spare some time that would be good15:46
arraybolt3kk, I'll take a swing at it. I remember setxkbmap didn't do the trick, but I bet there's some way to modify whatever config file KDE is using for its keyboard layout settings.15:46
arraybolt3(btw, does anyone know how to get rid of the small black bars at the top and bottom of my VM screen when using KDE Wayland?)15:47
arraybolt3mmm, 840 upgrades might do it15:48
arraybolt3been a while since I turned this VM on15:48
RikMillsnever noticed that on wayland15:48
arraybolt3happening to me with virt-manager, I think it happened with QEMU too though I'm not certain.15:49
RikMillsfor the keyboard IIRC, when you change/add layout in systemsettings it modifies ~/.config/kxkbrc15:50
RikMillsI think.....15:50
arraybolt3Um, ok, problem.16:23
arraybolt3* Log in with Plasma Wayland16:24
arraybolt3* Add German as a keyboard layout16:24
arraybolt3* Click the keyboard layout button to switch from US to German16:24
arraybolt3* Log out16:24
arraybolt3* Log back in16:24
arraybolt3* All keyboard settings are lost, you're back to just a US keyboard layout16:24
arraybolt3this is with an Oracular VM that I upgraded to Plucky so maybe I'm just missing some bits16:25
arraybolt3(so I guess previously Oracular)16:25
arraybolt3Did experiments with Fedora, apparently it manages to preserve the keyboard layouts chosen and the order they appear in, but can't remember the last chosen keyboard layout either by accident or by design.16:49
arraybolt3Whereas Kubuntu Plucky can't even remember the chosen keyboard layouts.16:50
RikMillsarraybolt3: is that still in the same vm?16:51
RikMillsthe one upgraded from oracular?16:51
arraybolt3yes16:52
arraybolt3(just did a test, it's resetting the keyboard layout list in kxkbrc on login.)16:52
arraybolt3so I'm going to install from a Plucky ISO to see if it acts the same way.16:53
RikMillsok16:53
arraybolt3alright, it was my VM's fault. Fresh Plucky install works perfect.17:03
* arraybolt3 nukes the bad VM17:03
arraybolt3black bars problem persists but meh, not the end of the world17:06
RikMillsarraybolt3: great. so if we can set somehow via installer-prompt it should be good17:11
arraybolt3yep, that's the goal17:11
arraybolt3the installer prompt probably needs to set the keyboard layout for itself too, but I think that should be trivial.17:12
arraybolt3What might not be trivial is porting it to Wayland...17:12
arraybolt3but meh, maybe it won't be that hard.17:12
arraybolt3almost got it Wayland-ified, only trick is avoiding a race condition between kwin_wayland and kubuntu-installer-prompt...17:51
arraybolt3got it!17:53
arraybolt3ugh, why does languages and keyboard layouts under Linux have to be such a disaster18:22
arraybolt3someone really needs to make the fifteenth competing standard here18:23
arraybolt3so basically to translate a language to a keyboard layout, Calamares has this very advanced, powerful, and complicated mess of language-to-layout correlation code with special case handling. I have to re-implement that in Bash for this to work.18:29
arraybolt3On the bright side, kwin_wayland all by itself respects the contents of .config/kxkbrc, so that's all that will be necessary to make the keyboard layout work right.18:31
RikMillsarraybolt3: how did the ubiquity try/install screen acheieve it? 18:34
RikMillsin case something is reusable from that18:35
RikMillsI doubt it, but.....18:35
arraybolt3The nice thing with Ubiquity is it was both installer and desktop environment all in one. We don't really get that advantage here.18:39
arraybolt3I think Cala has most of the bits I need though.18:40
arraybolt3But the code in its current state is dumpster fire. There's multiple layers of special casing in fragmented spots, and just kludging in keyboard layout handling is not in our best interest. I think I'm going to rip all this out and rewrite it in a more bearable way (if there is such a thing).18:40
arraybolt3alright, it finally works. Grief, that was hard.23:24
arraybolt3hmm, no kubuntu-automation available for Plucky yet?23:41
arraybolt3I can live without it I guess.23:41
arraybolt3*barely, I've had to force-push twice to fix goof-ups made trying to get everything exactly right23:47
arraybolt3alright, finally there. I still made a tiny goof with a debian/files sneaking in and then getting almost immediately removed, but that was it and I didn't feel like risking a third force-push to fix that.23:51
* arraybolt3 is slightly rusty on how to do this, hopefully my next upload won't be quite so chaotic23:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!