/srv/irclogs.ubuntu.com/2023/12/02/#lubuntu-devel.txt

tsimonq2arraybolt3: You still around?02:04
tsimonq2The Lubuntu Installer Prompt not only has a language selection menu now, it has a WiFi selection box so when Cala starts up it has a connection right away.02:16
tsimonq2All of the UI is implemented, the code is still Very Buggy.02:16
tsimonq2It's also all ported back to Qt 5, which actually was useful because I'm using some Frameworks.02:16
tsimonq2I'll be taking a small break, then back at it.02:16
tsimonq2My goal tonight is to get a new installer-prompt tagged, built, and in the archive.02:17
tsimonq2arraybolt3: Thanks for your starter work in cleaning some stuff up!02:17
tsimonq2What is c.archive.ubuntu.com - does anyone know?02:54
tsimonq2Is that finally a CDN source for the Ubuntu archive? That would be spectacular.02:54
tsimonq2New Featherpad in Noble.03:05
tsimonq2https://git.lubuntu.me/Lubuntu/installer-prompt/commit/5e616be3a4ca9705309014d1dc9853adab5dab8704:25
-ubottu:#lubuntu-devel- Commit 5e616be in Lubuntu/installer-prompt "Add Language and WiFi dropdown boxes, plus, update the background image - builds but doesn't run"04:25
tsimonq2 5 files changed, 500 insertions(+), 52 deletions(-)04:25
tsimonq2:P04:25
tsimonq2I mean, in all honesty...04:25
tsimonq2 CMakeLists.txt          |   7 ++-04:25
tsimonq2 img/background.png      | Bin 3459451 -> 2033068 bytes04:25
tsimonq2 src/installerprompt.cpp | 170 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------04:25
tsimonq2 src/installerprompt.h   |  34 +++++++++++---04:25
tsimonq2 src/installerprompt.ui  | 341 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------04:26
tsimonq2And I used Qt Creator, so there's that. :P04:26
tsimonq2My brain hurts, looks like I got it to build but it segfaults. Le sigh. :P04:28
tsimonq2I'll pick up tomorrow.04:28
* tsimonq2 EOD o/04:28
tsimonq2Before I left, I pushed those translations to Backports Staging, and migrated Featherpad from Backports Staging to Backports.04:37
tsimonq2Will do a quick tweet then leave For Real this time.04:37
lubot[telegram] <Leokolb> Testing today's daily with WiFi connection https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/204547418:06
-ubottu:#lubuntu-devel- Launchpad bug 2045474 in calamares (Ubuntu) "Installer makes attempt to connect to WiFi connection" [Undecided, New]18:06
lubot[telegram] <tsimonq2> https://matterbridge.lubuntu.me/11b27422/file_10180.jpg19:39
lubot[telegram] <tsimonq2> Prototype ^^^^^^^^^^19:39
lubot[telegram] <tsimonq2> I suck at design XD19:40
lubot[telegram] <tsimonq2> How does it look?19:40
lubot[telegram] <kc2bez> It looks great. Don't sell yourself short.19:41
lubot[telegram] <tsimonq2> Heh, thanks19:41
lubot[telegram] <tsimonq2> I'm more posting so I can get appropriate constructive criticism ;)19:42
lubot[telegram] <tsimonq2> Next is the backend for both the WiFi stuff and the language stuff19:42
tsimonq2The language box should do the following:19:42
tsimonq2 - Connect the change signal to a backend function handling it.19:43
tsimonq2 - This backend function should install language-pack-gnome-$LANG and language-pack-kde-$LANG if there's internet, otherwise LXQt has a few that we already ship by default.19:43
tsimonq2 - Then, locale-gen/whatever system-wide localization update is ran.19:44
tsimonq2 - Restart the SDDM service to get everything re-translated.19:44
tsimonq2Let's be fair here: to do it the "quick and dirty" way means like 10 lines of code. :P19:44
tsimonq2As for WiFi, it'19:44
tsimonq2s dead-simple...19:45
tsimonq2Using NetworkManagerQt, simply see if there's a WiFi adapter and if it's already connected to something. If it isn't, show that dropdown box, allow the user to select one, enter a password in the box (with retry support), and it should show as connected.19:46
tsimonq2This should use some system-level Network Manager commands to add that connection and actually do the thing with it.19:46
lubot[telegram] <kc2bez> That sounds functionally perfect19:46
tsimonq2Now, for more advanced connections, I'm just flat-out not going to support it. The only reason we have this in the first place is for "ease of use" on the usual WiFi connections - if they need something more advanced, they can hit Try Lubuntu and configure it there.19:47
lubot[telegram] <kc2bez> I agree and support that decision19:47
lubot[telegram] <tsimonq2> Grabbing some lunch then finishing the backend20:00
arraybolt3tsimonq2: wow, I love what you did to the prompt23:01
arraybolt3tsimonq2: The language box downloads the translations "on the fly"? Depending on the speed of one's Internet connection, that could be painfully painfully painfully slow.23:28
arraybolt3I think it might be better to seed all of them into the apt pool on the ISO itself (or at least the twenty most common ones, perhaps?). I don't know how exactly to do that, but it should be possible, right?23:29
arraybolt3Then they won't all be installed by default and the prompt can install the requested one on the fly without having to download it.23:30
tsimonq2arraybolt3: Hey thanks :)23:34
tsimonq2arraybolt3: Seems like a lot of wasted space, no?23:35
tsimonq2arraybolt3: Anyway, my goal was to have a progress bar there, so they can at least see what's up.23:35
arraybolt3one sec, have to step away23:35
tsimonq2I have the list of languages rendering properly, that's all pushed, I'm just working on state quirkiness with internet connectivity.23:35
tsimonq2No worries.23:35
arraybolt3tsimonq2: There's a few problems with making the user have to download languages. For one, we have no guarantee that the user even *has* Internet when they install Lubuntu. Some of our users probably don't have reliable Internet service in their home (source: I was one of those users). They may not have Internet service at all. Even the users who23:50
arraybolt3do have Internet service may be installing on a machine with no working network hardware, or (more likely) with network hardware that requires proprietary drivers that aren't installed yet.23:50
arraybolt3For two, it will make the live session slower to get started for many of our non-English-speaking users, which is a problem since they're statistically more likely to be in locations where Internet service is spotty, slow, or nonexistant.23:51
arraybolt3For three, I don't really see it as wasted ISO space - it's true that for any one user, most of the languages will be unnecessary, but for all of our users as a whole, most if not all of the languages are necessary. It's a tradeoff - I don't think we need languages like Ancient Egyptian installed by default (though hieroglyphs in the live session23:53
arraybolt3would be cool I suppose), but only just having English is probably not good enough. There's a middle ground I would think.23:53
arraybolt3Maybe the middle ground LXQt has by default is enough, I dunno. I guess it has quite a few languages.23:56
arraybolt3btw the encrypted-installation-fixing Cala patch got merged upstream :D23:59

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