/srv/irclogs.ubuntu.com/2024/01/03/#lubuntu-devel.txt

arraybolt3Hope Canonical has deep pockets when it comes to how much they can pay for bandwidth, this is going to be the third or fourth time tonight I've done a 400+ MB upgrade on my VM as part of testing (upgrades that I keep discarding by reverting a snapshot :P)00:57
lubot[telegram] <kc2bez> bah, drop in the bucket00:59
arraybolt3I think I'm slightly compulsive when it comes to saving resources I think are limited. I try to not use too much data, too many SSD writes, too much drive space, etc.01:16
arraybolt3but I'm fine with letting music stream all night off YouTube so I guess I must view Google's bandwidth as unlimited XD01:17
lubot[telegram] <kc2bez> The lights are on, streaming or not. Might as well use them ;)01:19
arraybolt3shoot, just deleted my snapshot instead of restoring it.01:34
arraybolt3ðŸĪŠ01:34
arraybolt3and I can't revert lubuntu-default-settings to 24.04.2 XD01:35
arraybolt3sigh, alrighty, this is going to be fun to undo01:35
arraybolt3(that one package was helping me get conffile prompts)01:36
arraybolt3(which were the very things I was just testing / fixing)01:36
lubot[telegram] <kc2bez> Dang01:36
arraybolt3anyway, I'll just rebuild 24.04.2 from source, install it, tweak conffiles, then re-upgrade and be back up and running.01:37
lubot[telegram] <kc2bez> That's the spirit.01:37
arraybolt3but this gives me a good opportunity to take a break, I got tons done. Diff view works nicely, conffile prompt looks nice, only trouble is clicking "Done" doesn't actually then make things happen. Not sure why yet.01:38
arraybolt3also lxqt-sudo is turning some newlines into CRLF combos :-/01:38
arraybolt3or something is at least01:38
arraybolt3and also come to think of it it's putting things on stderr that shouldn't be there01:40
arraybolt3I'm wondering if perhaps it needs patched to have a "raw" mode.01:41
arraybolt3yeah, it looks like lxqt-sudo emulates a whole terminal01:44
arraybolt3yup, it's connecting the child process to a pty it looks like, thus the mayhem. That should be fixable I would hope.01:49
arraybolt3Or maybe I just keep working around it.01:49
arraybolt3I don't rightly understand most of what I'm looking at reading through the code... but I think I see why things still aren't quite working.01:53
arraybolt3https://github.com/lxqt/lxqt-sudo/issues/20903:03
-ubottu:#lubuntu-devel- Issue 209 in lxqt/lxqt-sudo "When running a terminal application via lxqt-sudo, all user input to the application is discarded" [Open]03:03
tsimonq2arraybolt3: Externalize into its own script and use lxqt-sudo to call that?03:04
tsimonq2Either way I'd be inclined to try pkexec as a temporary stop-gap. :)03:04
arraybolt3Oh I already have externalized things into its own script.03:06
arraybolt3The trouble is the app needs to talk to the script.03:06
arraybolt3And lxqt-sudo is acting a bit more like a wall than a pipe :P03:07
arraybolt3yeah, pkexec should work, but yuck03:07
arraybolt3hmm, actually it doesn't look that bad now that I'm looking at it03:07
arraybolt3From experience I know pkexec will work since I've used it for this very thing before, but I really want to use lxqt-sudo since it fits better. So I'm leaning towards the idea of writing a patch for lxqt-sudo.03:10
tsimonq2arraybolt3: You're falling into the same exact line of thought I had when launching Calamares. :)03:11
tsimonq2"lxqt-sudo has LXQt in the name, why shouldn't we just push to use that?"03:11
tsimonq2In reality, when you look at a code, it's just a Qt dialog for pkexec.03:11
tsimonq2It probably won't work for everything, and very unfortunately (given my own past experience), I don't expect much traction on your well-written issue.03:12
tsimonq2If you're looking to get something that Just Works and move on, you did the right thing by filing the issue, but I may just use pkexec instead this time. :)03:12
arraybolt3hmm, to me lxqt-sudo looked like it was its whole own thing that didn't use polkit at all, but yeah, it probably will be ignored.03:13
arraybolt3Just... ugh, the theming will be off a bit :P03:14
tsimonq2No, I'm totally with you there. I *wish* we could just use lxqt-sudo.03:14
arraybolt3and the UI won't be quite as integrated03:14
arraybolt3if I write the code to make things work myself, we can at least patch it ourselves, and maybe upstream will be more inclined to accept it.03:14
tsimonq2I think that's a great idea, but I'll remind you yet again to not sink a week on this one. ;)03:15
tsimonq2@arraybolt3, @wxl, @kc2bez: As of today, you now have upload access to these three, additional packages: qtilitools, sddm-conf, redshift-qt03:16
arraybolt3heh, don't worry, I won't03:16
tsimonq2arraybolt3: <303:16
arraybolt3oh btw, we need someone to review picom-conf for us (still stuck in NEW), and we have to get sddm-conf and picom-conf into Debian (qtilitools made it in already).03:17
arraybolt3I should be adding those to The List if they aren't there already03:17
tsimonq2arraybolt3: I forget, did LoB only sponsor to Debian, or to Ubuntu for that one?03:17
arraybolt3don't remember either03:18
tsimonq2I'll take a peek at both, sec.03:18
arraybolt3I know you uploaded it to Ubuntu03:18
arraybolt3and I got it sponsored into Debian03:18
tsimonq2Oh wait, did I? ;)03:18
arraybolt3same with sddm-conf (that was all you), I did picom-conf03:18
tsimonq2@teward001: Thomas: 1 Simon: 003:18
arraybolt3(and hacked your sddm-conf packaging to do it (and got in trouble for your packaging a little bit))03:18
arraybolt3:P /s03:18
tsimonq2hah :D03:19
tsimonq2I make mistakes too, you know ;D03:19
arraybolt3ok so I see the code in lxqt-sudo that shuttles info from the child app to the terminal again03:21
lubot[telegram] <lynorian> picom-conf is a fork of compton-conf right ?03:22
arraybolt3(first time encountering PTYs, forks, and weird UNIX process juggling antics all in one application - I bet this is commonplace in lower-level Linux code)03:22
arraybolt3lynorian: yes03:22
tsimonq2arraybolt3: It was incredibly common in bcron. ;P03:22
arraybolt3yuck03:22
tsimonq2https://tracker.debian.org/news/1491440/accepted-vim-2910-1-source-into-unstable/03:34
arraybolt3alright so I'm going back to pkexec :P I think buffering is messing me up04:04
arraybolt3but as soon as lxqt-sudo is viable, we port04:04
arraybolt3or as soon as I figure out how to fix it04:05
tsimonq2+104:11
tsimonq2We're probably going to get 1.4.2 of Featherpad tomorrow.04:12
arraybolt3oooooh actually I got it to work with lxqt-sudo04:15
arraybolt3it's a tad bit buggy since I'm not turning off echo on the pty before writing to the process, so you see what you type doubled04:15
arraybolt3but otherwise it works04:15
lubot[telegram] <tsimonq2> https://lists.ubuntu.com/archives/ubuntu-release/2024-January/005862.html04:24
lubot[telegram] <tsimonq2> Niceeeee04:24
arraybolt3meh, working close enough, going to test and see if this is sufficient04:51
arraybolt3There's a slight bug I *could* fix...04:51
arraybolt3sigh, yeah, I really could04:51
arraybolt3anyway, this looks pretty hopeful04:51
arraybolt3oof, yeah I really need to fix it :P04:55
arraybolt3aaaAAAaaa these carriage returns make me want to scream and cry04:59
arraybolt3(not really but wow they can be frustrating)05:00
lubot[telegram] <tsimonq2> felt that05:10
arraybolt3alright, seems to work finally. Only downside is that input line length is limited to 4095 chars because that's how pseudoterminals work apparently (even pkexec has this issue).05:12
arraybolt3now I just need to **parse Ctrl+C** (?! yes, I actually have to parse for that) and we should be good :D05:12
arraybolt3hrm, actually parsing Ctrl+C won't have expected results come to think of it05:18
lubot[telegram] <tsimonq2> https://github.com/lxqt/lxqt/discussions/2139#discussioncomment-799954505:18
arraybolt3I think lxqt-sudo's architecture is wrong - the fact that it's still running and shuttling data between a process just seems wrong and it's inhibiting part of how the terminal works (by, oh, disabling Ctrl+C somehow).05:19
arraybolt3Usually I'd hit Ctrl+C and *instantly* the process will get a SIGINT and it's over. Whereas here I don't know I have a Ctrl+C until the user types it and presses Enter, which is just wrong.05:20
lubot[telegram] <tsimonq2> niceeeeee05:20
lubot[telegram] <tsimonq2> Downstream patch whatever matches Standard and LXQt won't accept (see lxqt-session if you need an example)05:21
arraybolt3...what?05:21
arraybolt3talk to texans?05:21
lubot[telegram] <tsimonq2> Let me rephrase: if LXQt upstream won't accept it, and it's part of an established Standard, we should downstream patch it anyway05:22
lubot[telegram] <tsimonq2> (With some reasonable variance of course.)05:22
arraybolt3ah, I get it05:22
lubot[telegram] <tsimonq2> Another example is in pcmanfm-qt re: trusted metadata :)05:22
lubot[telegram] <tsimonq2> If you install LXQt on any other distro and mark an executable as trusted, then switch to a different DE, that executable becomes untrusted05:23
lubot[telegram] <tsimonq2> LXQt is the only DE that does this and they reeeeefused to accept a patch making it consistent05:23
lubot[telegram] <tsimonq2> So we just did it downstream :P05:23
arraybolt3I don't think I can fix the Ctrl+C behavior, but it's already buggy in the existing lxqt-sudo.05:24
arraybolt3So my patch hasn't broken anything worse at least05:24
lubot[telegram] <tsimonq2> There we go, "no regressions" :P05:24
arraybolt3probably lxqt-sudo would need fully rewritten to fix whatever's wrong with interrupt handling, given the fact that data shuttling is *deeply* ingrained into its code.05:24
arraybolt3anyway, patch works, going to forward to upstream for consideration and maybe get you to review it before patching it in Lubuntu.05:25
lubot[telegram] <tsimonq2> Sounds great :) thanks for your help05:25
arraybolt3https://github.com/lxqt/lxqt-sudo/pull/21005:31
-ubottu:#lubuntu-devel- Pull 210 in lxqt/lxqt-sudo "lxqt-sudo: allow bidirectional communication with launched process" [Open]05:31
arraybolt3tsimonq2: when you go to review it, please overlook my coding style, I tried to match the style of the code around me, thus the weird braces, awful way of specifying if/else blocks, and use of snake_case.05:33
arraybolt3figured better to conform rather than reform :P05:33
arraybolt3plus I think devs like when you follow their coding style05:33
lubot[telegram] <tsimonq2> arraybolt3: ack thanks again :)06:44
guivercbooted lubuntu noble on device with two different resolution displays (3:4 & 16:10), wallpaper on larger display (16.10) is tiled & it doesn't look 'great'... do we care?11:24
guiverc^ is petty.. booted another box that shares same displays & the 16:10 display has image full screen; try/install on smaller 4:3 as with other box; yet no tiled (1 full & 3 partial tiles showing on 16:10...)  ..  live system is fully functional, you only boot to install (or use live) rarely so i see little point worrying about this (that only shows on some boxes anyway given here)11:42
guiverc(actually resolution is possibly different on this box; try/install appeared larger)11:44
arraybolt3I think we do care. If it's only the background screen, I probably forgot to set the right image scaling mode.14:29
arraybolt3Main focus for me today will be debugging Cala drive detection failures on Jammy and later when working with mixed-partition-table systems (some disks MBR, some disks GPT). It appears from the support session yesterday that Cala omits GPT drives from the list of installable drives when on a BIOS system.15:29
arraybolt3Whether it will be easy to fix or not is anyone's guess, but may as well find out.15:29
arraybolt3ok, cannot reproduce on Jammy, trying Lunar.15:43
arraybolt3Can't reproduce on Lunar, trying Mantic (this should be the one where it breaks I would hope)15:45
arraybolt3Curious, can't reproduce on Mantic now.15:45
arraybolt3so I guess the person from yesterday just had a random glitch...?15:45
EickmeyerIt was probably machine specific. Different manufacturers have different EFI implementations, and they just fell into a "non-standard" one, if such a thing exists.15:46
arraybolt3oh they very much exist15:46
arraybolt3but yeah, Cala sees both GPT and MBR disks on a BIOS VM.15:47
EickmeyerMy son's gateway machine refuses to dual-boot with grub, but is perfectly fine with rEFInd.15:47
arraybolt3tsimonq2: gdisk doesn't exist anymore on Lunar out of the box. Bug or feature?15:47
arraybolt3s/Lunar/Noble/15:47
arraybolt3gdisk = fdisk for GPT15:48
EickmeyerOh shoot, forgot to warn you all about that. Might need to be specifically seeded now, it was dropped as a depends or recommends for something.15:48
EickmeyerI forgot what, but yeah....15:49
Eickmeyers/specifically/explicitly15:49
EickmeyerHad something to do with partition manager and one of its dependencies. I'm drawing a fog right now.15:50
arraybolt3well, investigation over, if someone else comes and has the same problem we'll figure it out then.15:50
arraybolt3Eickmeyer: np, we might not even want it.15:50
Eickmeyerarraybolt3: Nah, I'm talking about fdisk.15:50
arraybolt3I only noticed since it caused a slight hiccup in my work that was a single install to fix15:50
arraybolt3oh, we still have fdisk15:50
arraybolt3just not gdisk15:50
EickmeyerOh, nevermind then.15:50
arraybolt3there's probably still something like parted on the ISO (probably I should check), but I just prefer the fdisk-like user interface. I've used parted a few times and it was just too cumbersome.15:51
EickmeyerI usually use partitionmanager because graphical.15:52
* arraybolt3 has turned into a CLI-addict who just wants SPEEEEEED15:52
arraybolt3forget graphical if I can do the same job in two-thirds of the time with a text interface :P15:52
EickmeyerI err on the side of accuracy, and if I can get everything visual and not have to visualize it in my brain first, then I'd much rather be accurate.15:54
arraybolt3Valid point. My brain usually thinks in words, not in pictures, so for me I can generally think of what I'm going for in a text-based way almost faster than partitionmanager can scan my drives (which sometimes can just be downright horribly slow).15:55
lubot[telegram] <tsimonq2> arraybolt3: I seem to recall the rationale being "it has a G in it so remove it" when we were switching to LXQt :P15:56
arraybolt3It's present in Jammy though...15:56
arraybolt3hahaha15:56
arraybolt3yeah g = gpt in gdisk :P15:56
arraybolt3It would be a nice-to-have for me personally, but definitely not a need or even much of an obstruction.15:57
lubot[telegram] <Eickmeyer> gwenview. 💀 (re @tsimonq2: arraybolt3: I seem to recall the rationale being "it has a G in it so remove it" when we were switching to LXQt :P)16:06
lubot[matrix] <arraybolt3> yeah we use lximage-qt16:07
lubot[matrix] <arraybolt3> so no Gwenview for us :D16:07
lubot[telegram] <Eickmeyer> Tooooootally not my point.16:07
lubot[matrix] <arraybolt3> oh, I misunderstood the joke :P16:08
arraybolt3Looks like I finally have bidirectional communication working in lubuntu-update :D18:19
Eickmeyer\o/18:25
Eickmeyerarraybolt3, @tsimonq2, you've both been summoned in #ubuntu-release. May God have mercy on your soul. 💀18:31
arraybolt3Looks like we may be writing Many Manpages soon...20:05
arraybolt3either that or else removing overrides and living with the warnings20:06
arraybolt3I've written them before and actually enjoy it, so I'm happy to do that.20:06
arraybolt3but then of course we get to override maintainer-manual-page instead since upstream doesn't want them :P20:06
arraybolt3conffile handling works20:34
* arraybolt3 is happy about that20:34
arraybolt3kc2bez: mind adding me to the lubuntu-wiki team?20:42
arraybolt3currently it appears I can't write to it20:43
Eickmeyerarraybolt3: Can I just compliment you on how much you ABSOLUTELY KICKED BUTT in #ubuntu-release? Not many people can do what you just did.20:49
tsimonq2ðŸ’ŊðŸ’ŊðŸ’ŊðŸ’Ŋ ^^^^^^^20:51
EickmeyerAnother point that wasn't as part of the Debian policy regarding manpages: TL;DR: If the documentation exists elsewhere, if a manpage doesn't exist, the warning can be overridden *as long as* the override is commented with where the documentation is located, whether it be a URL or another location in the fhs.20:53
Eickmeyer*wasn't mentioned20:53
arraybolt3Eickmeyer, tsimonq2: Thanks! I'm more happy that I didn't win but came to a compromise instead since that will improve our packaging.21:08
tsimonq2arraybolt3: You did win in one respect: you didn't back down and kept it respectful. Very positive sign.21:09
tsimonq2(And in that case, both you and Steve won.)21:09
arraybolt3+121:12
=== arraybolt3 is now known as arraybolt3_tl
tsimonq2The reason Lubuntu doesn't use git-ubuntu (yet?) is because it captures all the orig stuff.21:55
lubot[matrix] <kc2bez> Give that a whirl and let me know.21:55
tsimonq2Makes it much easier to clone and work with when you don't have the orig in it. That's my personal opinion. :P21:55
tsimonq2I'm working with arraybolt3 on a "training wheels" patch pilot session in #ubuntu-devel right now.21:56
lubot[matrix] <kc2bez> Nice21:56
=== arraybolt3_tl is now known as arraybolt3
Eickmeyerarraybolt3: Fantastic job in there! Way to go student pilot!22:54
arraybolt3Thanks :)22:55
tsimonq2ðŸ’ŊðŸ’Ŋ23:00
tsimonq2arraybolt3 has just been on a roll today. :D23:01
arraybolt3tsimonq2: btw did you ever upload Manuskript?23:01
arraybolt3https://bugs.launchpad.net/ubuntu/+source/manuskript/+bug/198920323:01
-ubottu:#lubuntu-devel- Launchpad bug 1989203 in manuskript (Ubuntu Jammy) "Manuskript crashes on start" [High, In Progress]23:01
arraybolt3(totally off topic for this room but who cares)23:01
arraybolt3I think In Progress means you did, not sure.23:02
arraybolt3actually that is what it means, so I need to poke the SRU team23:02
tsimonq2I'm ... confused heh23:03
tsimonq2That's not in the queue:23:03
tsimonq2https://launchpad.net/ubuntu/jammy/+queue?queue_state=1&queue_text=manuskript23:03
arraybolt3tsimonq2: ...23:03
arraybolt3hrm23:03
tsimonq2https://lists.ubuntu.com/archives/ubuntu-devel-announce/2024-January/001342.html23:04
arraybolt3tsimonq2: are you sure you uploaded it? :P23:04
tsimonq2I'm checking my email now to see if there's an autoreject email.23:04
tsimonq2I'm pretty sure I did...23:04
tsimonq2File manuskript_0.12.0-1ubuntu0.22.04.1.debian.tar.xz already exists in Primary Archive for Ubuntu, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.23:05
tsimonq2arraybolt3: Version Numbers Are Cheap23:05
arraybolt3*shakes LP vigorously*23:05
tsimonq2arraybolt3: You know *why* I got that message right?23:05
arraybolt3yep23:05
tsimonq2queue version numbers apparently count for some reason :P:23:06
arraybolt3even a package rejection still burns a version number :-/23:06
tsimonq2arraybolt3: Protip: always make sure your uploads actually make it XD23:06
arraybolt3heh, usually I get an email when they don't :P23:06
arraybolt3(correction - package rejection doesn't burn a version number, package upload-accept-into-proposed-test-failed-verification-removed-from-proposed burns a version number.)23:07
tsimonq2arraybolt3: Minor nitpick: don't say that you're backporting the changes, focus more on what the changes are and have backports as a secondary item (read: tone)23:08
* arraybolt3 botches MoinMoin syntax23:08
tsimonq2MoinMoin syntax is meant to be botched ;P23:08
lubot[telegram] <kc2bez> I use other words next to MoinMoin23:09
arraybolt3It's like HTML is markup, MD is markdown, and MoinMoin is markno23:09
lubot[telegram] <kc2bez> MoinMoin is NightNight23:10
lubot[telegram] <kc2bez> Or at least it should be23:11
arraybolt3👍23:11
arraybolt3tsimonq2: thanks, I see the Manuskript upload worked this time23:11
tsimonq2arraybolt3: Of course <323:15
arraybolt3hmm, just dawned on me that OEM setup in Lubuntu means we will need to write an OEM wizard, complete with first-time setup acrobatics.23:59
arraybolt3I'm thinking perhaps exiting OEM mode doesn't mean the wizard creates a new user and deletes the old one, but rather it renames the OEM user to something else, resets the password, and then BOOM that's the user's new account?23:59

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