/srv/irclogs.ubuntu.com/2023/09/22/#lubuntu-devel.txt

lubot[telegram] <lynorian> blames firefox on my browser wierd that it appears to work on my phone is this some sort of cache issue?00:43
lubot[telegram] <tsimonq2> I'm hopping on the road. I'll check in every few hours but I'm waiting on vorlon to get back to me. I'd appreciate a cross-ping if someone sees it before me00:52
lubot[telegram] <utkarsh2102> hey Simon00:52
lubot[telegram] <utkarsh2102> I am working with vorlon to get things up to speed00:52
lubot[telegram] <utkarsh2102> I'll get back to you in a bit (re @tsimonq2: I'm hopping on the road. I'll check in every few hours but I'm waiting on vorlon to get back to me. I'd appreciate a cross-ping if someone sees it before me)00:52
guiverccross-ping how tsimonq2 ?00:53
lubot[telegram] <tsimonq2> Oh hey! This is really convenient actually :)00:53
lubot[telegram] <tsimonq2> guiverc: I was going to ask for someone to ping me when vorlon does but hi Utkarsh :)00:53
guivercI'll ping (here) if I see related on -release @tsimonq2 00:54
guiverc(and haven't seen you respond etc)00:54
lubot[telegram] <tsimonq2> Thank you :)00:55
lubot[telegram] <utkarsh2102> @tsimonq2: the image build has started so it's only about 30 minutes of wait now until we can test00:56
lubot[telegram] <tsimonq2> Perfect!01:01
guivercwhen we have daily; I'll zsync_mantic, write to thumb-drive, and install on old bios box (w/internet, no encryption), then on uefi box (no internet/encryption) but will take time of course...01:03
guiverc@utkarsh2102, I could have asked you here, if you know answer (iso.qa daily question in -release) feel free to respond01:20
lubot[telegram] <utkarsh2102> replied ;)01:22
guivercthanks01:22
-queuebot:#lubuntu-devel- Builds: Lubuntu Desktop amd64 [Mantic Beta] has been updated (20230922)01:29
lubot[telegram] <tsimonq2> guiverc: To be clear, if we already went through the full test suite, I'll draw the line against repeating all of the pedantic tests again for a targeted fix :)01:39
guivercnah we haven't done all... I've listed 3 on iso.qa for me to do, 1 x BIOS, 2x uEFI (encrypt + no_encrypt)  or ~smoke-test01:41
lubot[telegram] <tsimonq2> That being said, it is imperative we confirm the file chooser works with Firefox. The LXQt one :)01:41
* guiverc has started writing ISO to thumb-drive; this bit takes ages..01:41
lubot[telegram] <tsimonq2> Thank you!01:41
guivercI also listed a LIVE test I usually do first, I can check that out on the LIVE system  (even post-install check too)01:41
guiverc(I'm meaning open firefox; go to fridge.ubuntu.com or web-site & right-click SAVE AS option should have us a menu etc)01:42
guiverc(me gets it on this mantic system, alas didn't yesterday on our live daily)01:43
guiverctsimonq2, i suggest you check it... on live session (now running) I'm not getting a SAVE AS dialog in firefox..  using iso 2023092202:08
lubot[telegram] <tsimonq2> Does the manifest show both packages?02:10
guivercremind me please  (I was looking for them, sorry I don't recall)02:11
lubot[telegram] <tsimonq2> http://cdimage.ubuntu.com/lubuntu/daily-live/pending/mantic-desktop-amd64.manifest02:11
guivercI have manifest open; package names are what I was after sorry02:12
lubot[telegram] <tsimonq2> Oh, lxqt-session and l-default-settings02:12
guiverclxqt-session    1.3.0-0ubuntu2  02:13
guiverclubuntu-default-settings        23.10.2  02:13
lubot[telegram] <tsimonq2> Is xdg-desktop-portal-lxqt installed?02:13
guiverc(both those packages on manifest apt-cache policy ^)02:14
guivercxdg-desktop-portal-lxqt 0.4.0-0ubuntu102:15
guiverc(& installed)02:15
* guiverc attempting logout & login again on live session02:15
lubot[telegram] <tsimonq2> Could you open the bug report? Jeremy or smcv put in a command for debugging xdg-portals or similar02:16
lubot[telegram] <tsimonq2> As soon as I ran that commands on my end. It fixed something and give me a bunch of information.02:17
guivercgrrr.. I can't paste from live as not VM..02:17
lubot[telegram] <tsimonq2> Good 'ol pastebin then is.gd? :)02:18
guiverc_live(firefox:4480): Gtk-WARNING **: 02:17:02.694: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop02:18
guiverc(that is what I saw when I ran `firefox` from terminal & right-click SAVE AS ... I've not re-read bug report to look at details as per ^ yet)02:19
guiverc`systemctl --user show-environment` has XDG_CURRENT-DESKTOP=Lubuntu, DISPLAY=:0 XAUTHORITY=/tmp/blahblah02:23
guiverc. (for me on other box)   perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/enviro02:24
guiverchas same data (with 'n' added) EXCEPT different value for XAUTHORITY (blah differs)02:25
lubot[telegram] <tsimonq2> I have an idea...02:27
lubot[telegram] <tsimonq2> guiverc: Edit /usr/share/xsessions/Lubuntu.desktop and replace "Lubuntu;LXQt" (or similar) with just LXQt. Log out, log back in. With Key=Value you're only looking to change Value02:29
lubot[telegram] <tsimonq2> I seem to recall that doing something during my testing. And I don't remember if that made it to the git repository02:29
lubot[telegram] <tsimonq2> If that does solve it, I'll get off on the next exit and prep an upload02:30
guivercDesktopNames=Lubuntu;LXQt;     <- that is there already 02:30
guivercare you driving?   if so be safe!02:31
lubot[telegram] <tsimonq2> Yes, so replace it with DesktopNames=LXQt :)02:31
guivercshould I try just LXQt?02:31
lubot[telegram] <tsimonq2> And perhaps Talk to Texan is in play :P02:31
lubot[telegram] <tsimonq2> Yes please02:31
guiverc(but would that stuff other things up??)02:32
lubot[telegram] <tsimonq2> Not in my experience but it wouldn't hurt to poke around for a minute02:32
guivercon login again.. I've lost panel & now have one monitor black  :(02:33
lubot[telegram] <tsimonq2> I would try restarting SDDM altogether02:35
guiverccan't open terminal either :(   doesn't look good as for possible fix (assuming i made no typos)02:35
guiverckilling sddm & I'm logged in with background on both monitors + panel...  good start but we'd need to test more anyway b/c of this02:35
guivercfirefox open; right-click save as, alas NO SAVE DIALOG02:35
guiverc(that was just 'Lubuntu;' removed from DesktopNames in /usr/share/xsessions/Lubuntu.desktop)02:36
lubot[telegram] <tsimonq2> Try without any trailing semicolons?02:36
lubot[telegram] <tsimonq2> Absolute worst case scenario, I'll be "all hands on deck" in 3 hours02:37
guivercno semicolon at end; ie. "DesktopNames=LXQt" , logout/login, still no SAVE AS dialog appears :(02:38
lubot[telegram] <tsimonq2> @utkarsh2102 If you're delaying *everyone's* beta for us now, pull the trigger, we'll follow in the next 6 hours02:38
lubot[telegram] <tsimonq2> What are we missing :( I had this working yesterday...02:38
lubot[telegram] <tsimonq2> The only other potential "shot in the dark" is removing xdg-desktop-portal-kde02:39
guiverctsimonq2, /usr/share/xdg-desktop-portal/lxqt-portals.conf is all lower case ; ie. default=lxqt  ... I've not been all lower case ^^^02:41
* guiverc doesn't understand all of bug report & mechanism, thus can't help sorry02:41
lubot[telegram] <tsimonq2> That's actually correct iirc - anything is worth a try :)02:41
lubot[telegram] <tsimonq2> And no worries02:41
* guiverc using a live session on box besides me; no loss to anything can occur there :)02:42
lubot[telegram] <tsimonq2> Unless you accidentally make a persistent drive ;)02:42
guivercno save as dialog with =LXQt;lxqt; (xsessions/Lubuntu.des..)02:44
guivercno dialog with =lxqt;02:45
guiverctried Lubuntu;lxqt;LXQt;LXQT; no luck... I'll reboot box02:47
* guiverc has booted another box; alas no SAVE AS dialog appears here either (as expected though; had to check)02:52
lubot[telegram] <utkarsh2102> Uh oh. I couldn’t read the backlog, is it badly broken? (re @tsimonq2: @utkarsh2102 If you're delaying *everyone's* beta for us now, pull the trigger, we'll follow in the next 6 hours)02:54
guivercno save as dialog appears on an installed system either :(  (expected yeah, but had to hope!)03:45
lubot[telegram] <tsimonq2> Right now I'm being forced to choose between sleeping the couple hours I'll be able to manage in the next 24 and getting this fixed - I still think we should continue to delay but I'm going to ping @arraybolt3 wxl @teward001 and @kc2bez for *ANY* help you may be able to provide05:49
guivercack.  (the issue doesn't worry me.. I've attempted to document issue on release notes (again))05:50
lubot[matrix] <arraybolt3> @tsimonq2: Bug number?05:51
guiverchttps://bugs.launchpad.net/ubuntu/+source/lubuntu-default-settings/+bug/203609805:51
-ubottu:#lubuntu-devel- Launchpad bug 2036098 in lubuntu-default-settings (Ubuntu) "[mantic] xdg-desktop-portals no longer working in default Lubuntu after xdg-desktop-portal 1.17.1" [Critical, Fix Released]05:51
lubot[matrix] <arraybolt3> meh, I know LP well enough to find it myself probably05:52
guivercLubuntu and Ubuntu Server images (arm64/raspi/riscv64 etc) are only ones NOT marked ready (Ubuntu Server with ubiquity all ready)05:53
guivercarraybolt3  link I just gave ^05:53
guiverc(it's still marked FIX RELEASED, but alas still exists on today's respin 0922 beta RC)05:54
lubot[matrix] <arraybolt3> Found it, reading up05:55
lubot[matrix] <arraybolt3> guiverc: If you launch FF in a terminal and try to open Save As, do you get any interesting error messages in the terminal? I don't see any mentioned in the backlog.05:55
lubot[matrix] <arraybolt3> Or in the bug report.05:56
guiverc<guiverc_live> (firefox:4480): Gtk-WARNING **: 02:17:02.694: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop05:56
guivercnah I didn't add to bug report (didn't think of it sorry; ^ was from readback)05:57
* guiverc will add to my last comment05:57
guiverc(away from keyboard ~15 mins)05:58
lubot[matrix] <arraybolt3> Anyone already try the suggestion of running `/usr/libexec/xdg-desktop-portal --verbose --replace` and then trying to launch Save As?06:00
lubot[matrix] <arraybolt3> (Sorry to be mostly asking for people to do things they've probably already done, but I'm trying to get a foothold in a battle that I've not been fighting until just now)06:00
guivercno need to apologize, probably Simon did but I don't recall doing it06:08
lubot[matrix] <arraybolt3> I don't understand how the comment in #2 is supposed to be a fix all of its own. It looks like portals.conf is needed.06:08
lubot[matrix] <arraybolt3> /usr/share/xdg-desktop-portal/lxqt-portals.conf:06:09
lubot[matrix] <arraybolt3> [preferred]06:09
* guiverc has no idea.. most of the bug report read like 'voodoo recantations' to me so I didn't try (esp. given I'm tired)06:09
lubot[matrix] <arraybolt3> default=lxqt06:09
lubot[matrix] <arraybolt3> guiverc: ^ throw that file in place, make sure XDG_CURRENT_DESKTOP is set right and try again06:09
lubot[matrix] <arraybolt3> gah, but you already have that06:09
lubot[matrix] <arraybolt3> so wha?!06:09
lubot[matrix] <arraybolt3> ls /usr/share/xdg-desktop-portal/lxqt-portals.conf anything there?06:10
guivercI tried to narrate what I tried; edits only to two files; both had contents but I don't recall what now sorry06:10
lubot[matrix] <arraybolt3> ok lemme read slower06:10
* guiverc has lousy memory due brain injury (old motorcycle accident)06:11
lubot[matrix] <arraybolt3> tsimonq2 mentioned a command that spit out a bunch of info *and* fixed things... I bet it was `/usr/libexec/xdg-desktop-portal --verbose --replace`06:12
lubot[matrix] <arraybolt3> Run that, try again, pastebin terminal output whether it fails or works06:13
lubot[matrix] <arraybolt3> (after trying the Save As dialog again)06:13
guivercokay..  looking for my thumb-drive06:16
guiverc@arraybolt3.. entering `/usr/libexec/xdg-desktop-portal --verbose --replace` in a terminal didn't return, so opened new tab & started `firefox`... THIS TIME I get a SAVE AS dialog & can save the page !!!06:21
lubot[matrix] <arraybolt3> Anything show up in the terminal?06:21
lubot[matrix] <arraybolt3> It's expected that it doesn't return.06:21
guivercNope  (why I opened new terminal, so I could read both)...   (I realized it wouldn't return)06:22
guivercthe first command fixed issue SURE LOOKS LIKE.. 06:22
lubot[matrix] <arraybolt3> Huh. ok...06:23
lubot[matrix] <arraybolt3> Alright, kill the process in the terminal and try Firefox again (it should not work this time)06:23
lubot[matrix] <arraybolt3> "If it works when run from a shell but not when run from D-Bus activation, try editing its D-Bus and systemd service files to add --verbose, then read the systemd Journal." If only I know what the D-Bus file he was talking about was...06:23
lubot[matrix] <arraybolt3> find | grep isn't popping it up for me06:23
guivercyeah already killed process & sure enough no SAVE AS dialog on firefox06:23
lubot[matrix] <arraybolt3> Alright, so `sudo vim xdg-desktop-portal.service`06:24
guivercrunning first in background (adding &) then firefox... nothing appearing on terminal (as before in different terms; so expected) & it works again.. 06:24
lubot[matrix] <arraybolt3> Change `ExecStart=/usr/libexec/xdg-desktop-portal` to `ExecStart=/usr/libexec/xdg-desktop-portal --verbose`06:25
lubot[matrix] <arraybolt3> Then log out and log back in (but don't reboot obviously) and try save as in Firefox again06:25
lubot[matrix] <arraybolt3> Then `journalctl -n100 | nc termbin.com 9999`06:25
guiverc(in directory /usr/lib/systemd/user/ I assume)06:26
lubot[matrix] <arraybolt3> er, yes06:27
lubot[matrix] <arraybolt3> 🤦 forgot I had cd'd there06:27
lubot[matrix] <arraybolt3> We need a Konsole extension that changes all paths to absolute when you copy out of the terminal06:27
guivercjust checking I wasn't going to edit wrong file :)06:27
lubot[matrix] <arraybolt3> s/We/I/06:28
guivercwouldn't help me.. I'm typing stuff in the box beside me; not a VM06:28
guivercchanged as per ^  (--verbose added)... logout/login; firefox & no save-as dialog... now opening terminal to start firefox again (to read messages)06:30
lubot[matrix] <arraybolt3> OK, if it failed, do `journalctl -n100 | nc termbin.com 9999` so I can see the verbose logs (if they're there, which hopefully they will be)06:31
guiverc_live(firefox:6913): Gtk-WARNING **: 06:31:39.416: Can't open portal file chooser: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop06:32
guiverc(what appeared at terminal when clicking SAVE_AS)06:32
guiverc_livehttps://termbin.com/yskp06:33
guiverc(this box is showing a few gallium/drivers lines when firefox is running; I believe box/gpu specific background-noise)06:34
lubot[matrix] <arraybolt3> well so much for verbosity06:36
lubot[matrix] <arraybolt3> And XDG_CURRENT_DESKTOP is LXQt or some permutation thereof?06:37
* guiverc got phone call; sorry06:39
guivercwhere do i look for XDG_CURRENT_DESKTOP; i recall seeing that earlier today but not the command that got it06:41
lubot[matrix] <arraybolt3> echo $XDG_CURRENT_DESKTOP06:41
guivercresult is "LXQt"06:42
guiverc& thanks... 06:42
lubot[matrix] <arraybolt3> I wish there was someway to "reboot" a live ISO without losing all contents06:42
lubot[matrix] <arraybolt3> Do you have a Mantic installed system still available?06:43
lubot[matrix] <arraybolt3> If so, do the above change to /usr/lib/systemd/user/xdg-desktop-portal.service and then *reboot* the box06:43
lubot[matrix] <arraybolt3> Actually...06:43
lubot[matrix] <arraybolt3> run systemctl daemon-reload06:43
lubot[matrix] <arraybolt3> in the live ISO06:43
lubot[matrix] <arraybolt3> and then try Firefox again06:43
guivercyeah... this box (alas it has ubuntu-desktop, xubuntu-desktop too so pointless), but did 2x installs earlier today :)06:44
lubot[matrix] <arraybolt3> and then do `journalctl -n100 | nc termbin.com 9999` again06:44
guiverckeep using live?  or start again with installed system (current daily 0922)06:44
lubot[matrix] <arraybolt3> Keep using live06:45
lubot[matrix] <arraybolt3> Maybe before doing Firefox again, do:06:45
guivercon live system, ran `systemctl daemon-reload`  (no sudo) then `firefox` & NO SAVE_AS dialog appears06:46
lubot[matrix] <arraybolt3> `sudo systemctl stop xdg-desktop-portal`06:46
lubot[matrix] <arraybolt3> er... gah06:46
lubot[matrix] <arraybolt3> I'm so tired I'm giving bad info06:46
lubot[matrix] <arraybolt3> Just do the journalctl thingy again now06:46
guivercyour attempts, skill & care is greatly appreciated @arraybolt3 (even if tired)06:46
guiverc(skipping the journalctl -n100) & going to systemctl..06:47
lubot[matrix] <arraybolt3> If that dern portal would give any debugging info... I mean it almost feels like xdg-desktop-portal isn't even *running*, but I can't see how that's possible unless something's utterly broken somewhere deep in the guts of Ubuntu, and I think that would show up in other flavors06:48
guiverc`sudo systemctl stop xdg-desktop-portal` resulted in FAILED TO STOP.. xdg-desktop-portal.service not loaded06:48
lubot[matrix] <arraybolt3> yeah, that's because that command was botched by me06:48
lubot[matrix] <arraybolt3> was supposed to be `systemctl --user stop xdg-desktop-portal` (as a desperate attempt to get systemd to reload the unit if needed)06:49
guivercyeah sorry... I'm trying to type whatever you suggest exactly (or as close to as I can..)06:49
lubot[matrix] <arraybolt3> thanks, now I just need to actually type right :P06:49
guivercme too of course!06:49
guivercstopped (no result; so good; $? gives 0)  ... no restart ?06:50
guivercopening firefox; and no SAVE_AS dialog 06:50
guiverc(wouldn't that be expected given we just stopped xdg-desktop-portal & didn't start anything??)06:51
lubot[matrix] <arraybolt3> It's complicated.06:51
lubot[matrix] <arraybolt3> OK, do `journalctl -n100 | nc termbin.com 9999` again - I'm trying to get a stubbornly quiet xdg-desktop-portal to talk06:51
lubot[matrix] <arraybolt3> (Basically the service is DBus-activated, which I *think* means it runs whenever something asks for it just right, which Firefox should do, so we just need systemd to run the right command when asked)06:52
guiverchold on.. i have a firefox tab open on other screen... I may NOT have been restarting firefox; just opening new windows06:52
lubot[matrix] <arraybolt3> (If it will run the --verbose command rather than the normal one when asked, then something *should* show up in journalctl and whatever it says is wrong will solve everything Lord willing)06:52
lubot[matrix] <arraybolt3> Of course if systemd is just silently failing to even load xdg-desktop-portal, then that would explain pretty much everything, and leave me utterly stumped as to how to fix it06:53
guivercclosed firefox; reran & I only get the 'can't open portal file chooser:' message like last time06:54
lubot[matrix] <arraybolt3> (D-Bus is one of the things in Linux I've not hardly learned anything about and try to avoid as much as I can since it just seems weird...)06:54
guiverc_livehttps://termbin.com/yimy  (termbin)06:55
lubot[matrix] <arraybolt3> YES! Finally! It talked!06:55
lubot[matrix] <arraybolt3> Welp. Found it.06:56
lubot[matrix] <arraybolt3> It's still looking for lubuntu-portals for who-knows-why.06:56
lubot[matrix] <arraybolt3> Idea 1: `mv /usr/share/xdg-desktop-portal/lxqt-portals.conf /usr/share/xdg-desktop-portal/lubuntu-portals.conf`, log out, log in, try Firefox again06:58
lubot[matrix] <arraybolt3> Idea 2: Scream at xdg-desktop-portal until it figures out that it should look in the file we told it to06:58
* guiverc smiles; I had firefox (guiverc_live) in & don't have to type that06:58
guivercmv executed (with sudo), logout, login, open firefox, NO save_as dialog appears on request :(07:01
lubot[matrix] <arraybolt3> now wait a minute...07:02
lubot[matrix] <arraybolt3> Sep 22 06:50:39 lubuntu xdg-desktop-portal[8799]: XDP: loading /usr/share/xdg-desktop-portal/portals/lxqt.portal07:02
lubot[matrix] <arraybolt3> Sep 22 06:50:39 lubuntu xdg-desktop-portal[8799]: XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser07:02
lubot[matrix] <arraybolt3> ??!!!!??!?!???!!?!?!??!!!??!07:02
lubot[matrix] <arraybolt3> oh. I see something.07:03
lubot[matrix] <arraybolt3> No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop07:03
lubot[matrix] <arraybolt3> XDP: portal implementation supports org.freedesktop.impl.portal.FileChooser07:03
lubot[matrix] <arraybolt3> I'm noticing an "impl" missing07:03
lubot[matrix] <arraybolt3> So now the question is why on earth is Firefox trying to call org.freedesktop.portal.FileChooser rather than org.freedesktop.impl.portal.FileChooser?07:04
lubot[matrix] <arraybolt3> Or is that the right path and maybe Firefox can't communicate with xdg-desktop-portal somehow?07:05
lubot[matrix] <arraybolt3> But that doesn't make sense...07:05
lubot[matrix] <arraybolt3> OK, found someone else with the problem on Arch, now reading their wiki07:06
lubot[matrix] <arraybolt3> I'm lost. I'll add the logs to the bug report though.07:08
guivercTHANKS heaps for trying @arraybolt3, esp. given you're tired.07:09
lubot[matrix] <arraybolt3> OK, might have some more ideas07:15
lubot[matrix] <arraybolt3> `dbus-update-activation-environment --verbose --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CURRENT_DESKTOP`07:16
lubot[matrix] <arraybolt3> ^ run that and then try Firefox again07:16
guiverc<arraybolt3> `dbus-update-activation-environment --verbose --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CURRENT_DESKTOP`07:16
lubot[matrix] <arraybolt3> yes07:16
* guiverc didn't want to type that in... thus opened live...07:17
* guiverc had closed the firefox session with libera in it... 07:17
lubot[matrix] <arraybolt3> ah, very clever07:18
guivercentered ^ command; opened firefox; website; alas SAVE_AS dialog did NOT appear :(07:19
lubot[matrix] <arraybolt3> tar07:19
lubot[matrix] <arraybolt3> Snap might be being it's usual unhelpful self here07:21
* guiverc trying logging out, login & try again (fingers crossed anyway)07:21
lubot[matrix] <arraybolt3> `sudo vim /etc/X11/Xsession.d/20dbus_xdg-runtime`07:21
lubot[matrix] <arraybolt3> `DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY` -> change this line to `DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CURRENT_DESKTOP` and then relog again07:21
guivercthat line appears to have DBUS_SESSION_BUS_ADDRESS \ DISPLAY \ XAUTHORITY \ XDG_CURRENT_DESKTOP \ ${NULL+}07:24
guiverchas that already ^07:24
lubot[matrix] <arraybolt3> oh so already fixed07:24
lubot[matrix] <arraybolt3> also what's the output of `systemctl --user show-environment` and `perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ`?07:24
* guiverc loading firefox again for that one...07:25
guiverc_livehttps://dpaste.com/42RLCYCR8   (for systemctl --user show-environment)07:26
lubot[matrix] <arraybolt3> My earlier stunt with the lubuntu/lxqt file may have broken things07:26
guiverc. perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ07:26
guiverc_livehttps://dpaste.com/ET3NXVFFD for `perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ |pastebinit`07:27
lubot[matrix] <arraybolt3> To my (untrained) eye this looks like everything is configured perfectly well and is being recognized and should just work. The only odd discrepency I can see anywhere here is that .impl thing and I can't help but think that's probably not the problem.07:27
lubot[matrix] <arraybolt3> Oh hey that second paste has the wrong desktop set07:28
lubot[matrix] <arraybolt3> ohhhhh... that's very hopeful indeed07:28
lubot[matrix] <arraybolt3> `XDG_CURRENT_DESKTOP=Lubuntu`07:28
guivercif you mean the Lubuntu (XDG_SESSION_DESKTOP).. that's what Simon & I played with earlier.. (if I recall correctly)07:29
lubot[matrix] <arraybolt3> I mean that the environment of xdg-desktop-portal has XDG_CURRENT_DESKTOP set to Lubuntu.07:29
guivercchanging it to LXQt; Lubuntu;LXQt; lxqt etc.   07:29
lubot[matrix] <arraybolt3> Not LXQt.07:29
lubot[matrix] <arraybolt3> Even though it should be set to LXQt thanks to all the myriad of configs we've set.07:30
lubot[matrix] <arraybolt3> OK, I think I probably have damaged your live env beyond easy repair, can you reboot the live ISO?07:30
guiverc<lubot> [telegram] <tsimonq2> guiverc: Edit /usr/share/xsessions/Lubuntu.desktop and replace "Lubuntu;LXQt" (or similar) with just LXQt. Log out, log back in. With Key=Value you're only looking to change Value   (etc)07:30
lubot[matrix] <arraybolt3> Then we'll do one more check with that weird-looking perl command and if it still has the wrong desktop set then we've probably found our issue07:30
* guiverc could have copy/pasted wrong line.. we edited 2 files07:31
lubot[matrix] <arraybolt3> Let's start with just a full reboot so we get a clean env.07:32
guivercthe quit ^ was b/c of reboot07:32
lubot[matrix] <arraybolt3> That last pastebin finally showed something very wrong for the first time, so that gives me hope that this can be solved.07:32
lubot[matrix] <arraybolt3> ah, I'm on Matrix, didn't see it07:33
guivercokay ..07:33
guivercbox awake (new session)07:35
lubot[matrix] <arraybolt3> Gotta love upstream doing major changes like this last-minute and breaking everything. Reminds me of the chaos around one of the 22.04 point releases not too far back when Firefox wouldn't launch at all.07:35
guivercat least Jeremy looked for the issue, then reported it to us...   07:36
lubot[matrix] <arraybolt3> OK, so VM is started?07:37
lubot[matrix] <arraybolt3> `perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ |pastebinit` if so07:37
* guiverc using real hardware; not VM (why I paste commands to myself when they're complex!)07:38
lubot[matrix] <arraybolt3> ah07:39
guiverc. perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ |pastebinit07:40
* guiverc made URL issue I think.. hold on07:41
guivercused _ instead of - in room name :(07:41
guiverc. perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ |pastebinit07:42
guiverc. perl -pe 's/\0/\n/g' /proc/$(pgrep -f xdg-desktop-portal | head -n1)/environ |pastebinit  (sorry for spamming)07:42
guiverc_livehttps://dpaste.com/7H2X7CQKC07:42
lubot[matrix] <arraybolt3> And also `echo $XDG_CURRENT_DESKTOP`?07:43
guivercLXQt07:43
lubot[matrix] <arraybolt3> OK, so I have an idea.07:44
lubot[matrix] <arraybolt3> Log out, click the session dropdown and log into a plain LXQt session (NOT lubuntu) and try Firefox in that.07:44
lubot[matrix] <arraybolt3> What I think is happening is:07:44
guivercwell I didn't try the YELLING at it.. I think that only helps us humans..  (Stress wise)07:44
guivercgood idea !  (lxqt session)07:45
lubot[matrix] <arraybolt3> 1. Lubuntu session starts, XDG_CURRENT_DESKTOP is Lubuntu07:45
lubot[matrix] <arraybolt3> 2. That variable gets copied into the "activation environment"07:45
lubot[matrix] <arraybolt3> 3. XDG_CURRENT_DESKTOP changes to LXQt too late07:45
lubot[matrix] <arraybolt3> 4. Firefox breaks07:45
guivercXDG_CURRENT_DESKTOP = LXQt07:46
guivercSAVE_AS dialog is doing nothign in LXQt session....  (still think it was a great idea to try it; rule out some configs I believe)07:46
lubot[matrix] <arraybolt3> `sudo killall xdg-desktop-portal`07:47
lubot[matrix] <arraybolt3> And try Firefox again (the portal should auto-reboot)07:47
lubot[matrix] <arraybolt3> While still in the LXQt session07:48
guivercokay... i ran the KILLALL command, realized I didn't close firefox; so closed firefox; restarted firefox, webpage & SAVE_AS DIALOG NOW OPENS !!?????07:48
lubot[matrix] <arraybolt3> Yep. That's what I figured.07:48
lubot[matrix] <arraybolt3> Because now it has the proper XDG_CURRENT_DESKTOP variable set after a restart.07:48
guivercthat's what we did ages back; (can't recall how long ago & it worked)07:49
lubot[matrix] <arraybolt3> So... *deep sigh.*07:49
lubot[matrix] <arraybolt3> I have no clue how to test this in a rigorous way, but I have some ideas.07:49
lubot[matrix] <arraybolt3> `cd /usr/share/xsessions`07:49
lubot[matrix] <arraybolt3> `sudo rm lxqt.desktop`07:49
lubot[matrix] <arraybolt3> `sudo mv Lubuntu.desktop lxqt.desktop`07:50
lubot[matrix] <arraybolt3> `sudo killall xdg-desktop-portal`07:50
lubot[matrix] <arraybolt3> And then log out and log back into the Lubuntu session.07:50
lubot[matrix] <arraybolt3> (you can swap the rm with a mv if you want but we're in a live session so probably not that big of a deal)07:50
guiverc^ commands were executed whilst in GUI session, logout, login07:51
guivercno lubuntu panel/colors etc.. (ie. looks like LXQt session default), alas NO SAVE_AS dialog07:52
lubot[matrix] <arraybolt3> oh wow07:52
lubot[matrix] <arraybolt3> right, because that filename matters I now remember07:52
lubot[matrix] <arraybolt3> grr07:52
lubot[matrix] <arraybolt3> Where is xdg-desktop-portal picking up XDG_CURRENT_DESKTOP=Lubuntu from???07:53
guivercdon't forget you'll need to sleep07:53
lubot[matrix] <arraybolt3> Because I'm sure that's the problem - it's picking up the wrong variable somehow.07:53
lubot[matrix] <arraybolt3> lol, I'm watching YouTube with my mom in the background, I'm OK07:53
guiverc(above my pay-grade, no idea in other words)07:53
lubot[matrix] <arraybolt3> OK, so one last trick...07:54
lubot[matrix] <arraybolt3> `cd /usr/share/xsessions`07:54
lubot[matrix] <arraybolt3> `mv lxqt.desktop Lubuntu.desktop`07:54
lubot[matrix] <arraybolt3> *with sudo07:54
lubot[matrix] <arraybolt3> `sudo vim Lubuntu.desktop`07:54
guivercshould I reboot; or continue where I am?07:54
lubot[matrix] <arraybolt3> Change "Lubuntu;LXQt;" to "LXQt" like before07:54
lubot[matrix] <arraybolt3> Continue where you are07:55
lubot[matrix] <arraybolt3> `sudo killall xdg-desktop-portal`07:55
lubot[matrix] <arraybolt3> And log out and log back in again.07:55
lubot[matrix] <arraybolt3> Then give Firefox a spin and see what happens.07:55
lubot[matrix] <arraybolt3> If *that* works then I think we probably have a shippable fix.07:55
lubot[matrix] <arraybolt3> (not that I make that decision but hopefully it will work)07:56
guivercDesktopNames=LXQt;  (I left a ; there)07:57
lubot[matrix] <arraybolt3> Hopefully that will work07:57
guiverclogout/login; firefox, web page - SAVE_AS has a dialog asking for name...07:58
lubot[matrix] <arraybolt3> yay07:58
lubot[matrix] <arraybolt3> So the problem apparently was that "Lubuntu;" at the beginning.07:59
lubot[matrix] <arraybolt3> Just like Simon thought, but without the killall command the testing wasn't working.07:59
lubot[matrix] <arraybolt3> That's what I hope at least.07:59
lubot[matrix] <arraybolt3> So... now we need to wake up someone with upload permissions08:00
guivercso a reboot should work for actual installs (harsh killall?) but live sessions?   Would dropping Lubuntu; cause issues anywhere??  risky I fear/wonder?08:01
* guiverc doesn't know; just my thinking..08:01
lubot[matrix] <arraybolt3> I don't think it will make anything go wrong - we didn't even have the DesktopNames field before08:02
guivercI'll suggest you write it on bug report... (whilst it's fresh (clear?) in your mind) ?08:02
lubot[matrix] <arraybolt3> And I believe it's only used for xdg-desktop-portal08:02
lubot[matrix] <arraybolt3> Sure thing.08:02
guivercokay that's new; I didn't know that.. (noted in bug report... but didn't know what was in file really before)08:02
lubot[matrix] <arraybolt3> Added info to bug report.08:06
lubot[matrix] <arraybolt3> I think we can probably unblock the beta now - release note that one must run `sudo killall xdg-desktop-portal` after login if you want Firefox's file dialog to behave itself.08:06
lubot[matrix] <arraybolt3> (Not that I make that decision, but that's what I would suggest.)08:06
guivercThanks @arraybolt308:07
guivercI've written something in release notes (twice actually; first time was removed when Simon felt issue was quashed)08:07
* lubot [matrix] <arraybolt3> unplugs a tired brain and plugs in a new fresh one08:07
guivercthis issue didn't worry me personally; it did Simon08:07
lubot[matrix] <arraybolt3> (if only that was actually an option)08:07
guiverc:)08:08
guivercXDG Desktop Portals has broken on Lubuntu, and our fix to this issue did not land in time for the beta release. This fix will land in the coming days, alas it will remain unfixed on live sessions of the beta. What this means is if you’re using firefox you may not be able to open a file, or save a web page as no file-chooser will show (until the fix arrives in a few days). If you need this fixed for a live session (ie. ISO), just grab ou08:09
guivercr next daily when they resume being created.08:09
guiverc(with links...)   I'll not reword that (it was written assuming we didn't respin the 'fix' we were testing now that didn't work)08:09
guivercI'll later restart a live session; test the killall in your comment, and may add that to the release notes (that would be useful to readers..)08:12
lubot[matrix] <arraybolt3> 👍️08:12
guivercThanks again Aaron08:12
lubot[matrix] <arraybolt3> OK, I should probably sign off. Hope I was able to be helpful :) Really enjoyed working with you guys again.08:13
guivercYes you were very helpful !08:13
guivercsudo vim /usr/share/xsessions/Lubuntu.desktop  ; remove Lubuntu;  (from DesktopNames)08:33
guiverclogout; login & firefox has no save_as08:34
guivercnow do `sudo killall xdg-desktop-portal` and finally firefox opens... 08:35
lubot[telegram] <kc2bez> Apologies, I was in my brief period of slumber. (re @tsimonq2: Right now I'm being forced to choose between sleeping the couple hours I'll be able to manage in the next 24 and getting this fixed - I still think we should continue to delay but I'm going to ping @arraybolt3 wxl @teward001 and @kc2bez for *ANY* help you may be able to provide)10:30
lubot[telegram] <kc2bez> Just coming online now.10:30
lubot[telegram] <kc2bez> Then off to $dayjob10:31
lubot[telegram] <kc2bez> I tried reading the backlog but need a tl;dr translation.10:35
=== guiverc2 is now known as guvierc
=== guvierc is now known as guiverc
lubot[telegram] <tsimonq2> Good morning from Grand Forks, ND! ☀️13:23
lubot[telegram] <tsimonq2> @arraybolt3 guiverc: THANK YOU! You guys are lifesavers. And thank you for popping your head out Aaron! Absolutely above and beyond :)13:24
lubot[telegram] <Roberalz> Awesome work!!!13:27
guiverctsimonq2, utkasrsh said he was going to have a word with you  (unless I was mistaken)13:28
tsimonq2Pulling down the ISO now, let's see what happens.14:33
tsimonq2Okay, I have a dirty hack in mind for doing this fix all in one go.14:47
tsimonq2Let's see what happens...14:48
-queuebot:#lubuntu-devel- Unapproved: lubuntu-default-settings (mantic-proposed/universe) [23.10.2 => 23.10.3] (lubuntu)15:43
-queuebot:#lubuntu-devel- Unapproved: accepted lubuntu-default-settings [source] (mantic-proposed) [23.10.3]15:48
Eickmeyertsimonq2: "Dirty Hacks, Done Dirt Cheap" --AC/DC16:10
-queuebot:#lubuntu-devel- Unapproved: xdg-desktop-portal-lxqt (mantic-proposed/universe) [0.4.0-0ubuntu1 => 0.4.0-0ubuntu2] (lubuntu)16:55
wxl@tsimonq2: hey next time you dont' have time to get in an urgent fix, please ask for help18:12
lubot[matrix] <wxl> also arraybolt3 thanks so much for all the help18:13
lubot[matrix] <arraybolt3> @tsimonq2, @wxl Really glad I was able to do something to help :)18:13
lubot[matrix] <arraybolt3> hrng, xdg-desktop-portal seems to not be my strong point :P I should brush up on that if I manage to come back in full capacity.18:18
lubot[matrix] <arraybolt3> (re jbicha's most recent comment on the bug report)18:19
wxlyeah that's why we have the -kde one too18:22
wxlif you look at the portal file you can see all the interfaces18:22
lubot[matrix] <arraybolt3> Then probably we'll need something like DesktopNames=LXQt;KDE; I would guess18:23
wxlright but even without that, the file chooser should work18:24
wxlupstream only implements the file chooser18:24
wxlhttps://github.com/lxqt/xdg-desktop-portal-lxqt/blob/master/data/lxqt.portal18:25
jbichaarraybolt3: No. But you do need default=lxqt;kde; for http://launchpadlibrarian.net/688335880/lxqt-session_1.3.0-0ubuntu1_1.3.0-0ubuntu2.diff.gz18:26
wxl^ that's what i was just going to say18:27
lubot[matrix] <arraybolt3> jbicha: Ah, that makes perfect sense.18:29
jbichaactually just a bit more complicated than that. Compare with https://gitlab.gnome.org/GNOME/gnome-session/-/blob/main/data/gnome-portals.conf18:32
jbichamaybe default=kde;lxqt; would be simpler and just list the lxqt specific portals in the additional lines18:33
jbichaone of the portals is a portal to set the wallpaper. I imagine lxqt should implement that portal since I assume it is different than for other desktops18:33
wxlso e.g. org.freedesktop.impl.portal.FileChooser=lxqt;18:34
wxl?18:34
jbichaI don't know all the details; smcv seems happy to help, especially on the Debian side18:34
jbichasorry, not sure18:34
wxlsigh i don't get why xdg-desktop-portal-lxqt isn't in debian. it's a proper lxqt project18:35
wxlTHAT would fix the problem18:35
jbichabug 105179018:37
-ubottu:#lubuntu-devel- Bug 1051790 in OpenShot Video Editor "Adjust Speed / Length of Animated Titles" [Critical, Fix Released] https://launchpad.net/bugs/105179018:37
jbichaDebian bug 105179018:37
-ubottu:#lubuntu-devel- Debian bug 1051790 in wnpp "ITP: xdg-desktop-portal-lxqt -- xdg-desktop-portal implemenation for libfm-qt xdg-desktop-portal that is using Qt/KF5/libfm-qt" [Wishlist, Open] https://bugs.debian.org/105179018:37
tsimonq2I don't plan on doing that upload to Debian myself.18:57
tsimonq2jbicha: So, if lxqt;kde is set (or similar), it will use the LXQt file chooser but then fall back to KDE for the rest? Meaning, can it deal with it in multiple, partial layers?18:58
jbichaI don't know the details. You could try it out and see what happens18:59
jbichahttps://snapcraft.io/portal-test (edge channel only) may help. A few of the buttons didn't seem to work for me the last time I tried it19:00
tsimonq2Thanks for that.19:01
tsimonq2I really really really hate the idea of having *two* different fallbacks and seeding them both, but I suppose we don't quite have a choice at this point. (It would be cool if the KDE one was complete, but it's far from it.)19:20
tsimonq2At *first* *chance* I'd like to remove the GTK one.19:20
tsimonq2I'm going to add those depends to lxqt-session but I have a gut feeling it could go somewhere better.19:21
-queuebot:#lubuntu-devel- Unapproved: lxqt-session (mantic-proposed/universe) [1.3.0-0ubuntu2 => 1.3.0-0ubuntu3] (lubuntu)19:27
jbichalxqt-session sounds like the right place for those depends to me. We do similar with gnome-session in Debian & Ubuntu19:48
tsimonq2Sounds good. Thanks for all your help on this, jbicha!19:48
wxldid we figure it out yet?20:00
-queuebot:#lubuntu-devel- Builds: Lubuntu Desktop amd64 [Mantic Beta] has been updated (20230922.1)20:05
wxlsave as works in firefox with that ^20:12
wxlit doesn't seem to correctly interact with the downloads though20:14
wxlUnknownMethod. No such interface "org.freedesktop.portal.OpenURI"20:15
wxllooks like kde doesn't implement it, either20:16
wxli wouldn't be shocked if kubuntu is similarly messed up20:17
wxlboth the "open in folder" button as well as clicking on the file itself attempts to use the same method20:18
wxlbetween the ability to save a file and that, i'd say that's a much bigger problem to fix20:19
wxljbicha: does -gtk implement the OpenURI interface?20:24
wxlwell, it behaves relatively nicely in kubuntu20:36
wxlthe file manager opens and it asks what application to open a png with, offering sane options20:37
wxli think we need default=lxqt;kde at minimum in the portal.conf20:38
wxlinterestingly neither gtk nor kde implement OpenURI soooooooooo i have no idea why firefox was trying to use it in lubuntu20:41
wxlyay snaps.20:42
jbichaI don't know about OpenURI; but I can open items in Firefox's download list and the Show In Folder feature works with Nautilus (all this in Ubuntu Desktop)21:00
wxli wrote my findings in the bug. not sure what else i can do.21:15
lubot[telegram] <tsimonq2> wxl: check my latest lxqt-session upload and try again :)21:32
lubot[matrix] <wxl> What version?21:37
wxl@tsimonq2: ^21:56
wxl@tsimonq2: near as i can tell your last upload is 1.3.0-0ubuntu2, and that's what's on the ISO21:58
lubot[telegram] <kc2bez> Looks like ubuntu3 is in the repo22:00
lubot[telegram] <kc2bez> It is in the unapproved queue I think.22:01
wxllxqt-session?22:01
lubot[telegram] <kc2bez> Oh wait22:01
lubot[telegram] <kc2bez> That is default settings22:01
lubot[telegram] <kc2bez> Yup, I see ubuntu2 there.22:03
wxlyeah it's stuck in unapproved22:04
wxli added xdg-desktop-portal-gtk and set "default=lxqt;kde;gtk;" and i do get the gtk app chooser22:06
wxli'm baffled as to why i don't get the kde one22:06
wxlso if it gets approved and the iso respun we should be good22:13
EickmeyerFYI, they just unfroze the repo (post-Beta Freeze now) so I doubt you're allowed any more respins.22:32
wxlwell, at least we fixed the FileChooser22:38
-queuebot:#lubuntu-devel- Builds: Lubuntu Desktop amd64 [Mantic Beta] has been marked as ready23:37

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