[05:16] <willcooke> o/
[05:17] <willcooke> Blargh.  Jet lag is back, plus I have a head cold.  Might keep a low profile this morning
[05:19] <duflu> Hi willcooke. <something> morning then
[05:19] <willcooke> :D
[05:20] <duflu> You almost made morning in Australia, which is obviously wrong
[05:20] <duflu> Although right given that was your previous timezone
[05:23] <willcooke> heh
[05:23] <willcooke> Its going to be a quiet day today anyway I think, public hol in much of Europe
[05:24] <duflu> That's good. I need to duck out in a while anyway
[05:29] <duflu> Damn. We released a gstreamer1.0-vaapi that doesn't work in Xorg for Intel GPUs
[05:29] <duflu> It worked the last time I tested it before release
[05:29] <duflu> Obviously not recently enough
[05:30] <willcooke> oh
[05:30] <willcooke> I didnt notice, shows how much I use that then
[05:51] <duflu> I use 'mpv' if I need to play a video now. Although even when totem is working it's still not smooth. I suspect when more smoothness fixes have landed in mutter I'll be able to backport some to legacy clutter to help totem
[05:52] <willcooke> is there a fix for gstreamer1.0-vaapi?
[05:53] <duflu> Not that I know of. Although that package seems to work fine via gst-play-1.0 so I am not sure that is the right package
[05:54] <duflu> I also don't remember all the related parameters to gst-play-1.0 to answer that question better right now
[06:06] <willcooke> np
[06:54] <duflu> I forgot how much I hate gstreamer
[06:55] <duflu> But I am finding some answers
[07:45] <marcustomlinson> morning duflu willcooke
[07:46] <duflu> Morning marcustomlinson
[07:50] <willcooke> hi marcustomlinson
[08:00] <Laney> yeehaw
[08:04] <marcustomlinson> howdy Laney!
[08:08] <Laney> hey marcustomlinson
[08:08] <Laney> how you getting on?
[08:09] <marcustomlinson> Yeah alright thanks, getting the hang of the release processes. LibreOffice is a bit of a beast so a decent project to learn from
[08:10] <marcustomlinson> Just a bit of a beast though :P I realise there are much worse
[08:10] <Laney> yes it is /o\
[08:13] <willcooke> marcustomlinson, Laney:  I'm under the weather today so will be afk a bit.  (In bed with my laptop atm.)
[08:14] <Laney> as you were
[08:14] <Laney> (netflix?)
[08:14] <Laney> FFS that update-manager stealing focus thing just happened again
[08:14] <duflu> Morning Laney
[08:14] <marcustomlinson> get better willcooke
[08:15] <Laney> 👋 duflu
[08:16] <Laney> I wonder if the Android list of emoji aliases is free software
[08:16] <Laney> would be good to feed that to Characters
[08:23] <duflu> In the future there will be no letters
[08:55] <erGoline> Hi! I'm trying Wayland on Ubuntu, it works fine but I'm getting a strange bug: some installed apps are not present in the applications drawer and are not even displayed in the search too. Any help, please?
[08:55] <duflu> erGoline, does the problem happen with any built-in apps or just some you installed yourself?
[08:58] <erGoline> duflu, I detected the problem with some apps installed by myself, I don't know if this hits other system apps
[08:58] <erGoline>  This apply to random apps, for example Telegram Desktop or Sublime Text (but Sublime Merge is here with no problems). I noticed that even the terminal "subl" command is missing, so probably is a path problem.
[09:04] <erGoline> duflu, I don't know if it could be related, but I use zsh
[09:05] <duflu> Maybe ignore the terminal shell. Focus on the graphical shell only
[09:06] <duflu> Although... is the problem applicable to snaps only?
[09:06] <duflu> Or do you see it with apps installed as debs too?
[09:06] <erGoline> I point out the shell because I cannot find Sublime Text in the drawer *and* subl, the related terminal command
[09:06] <duflu> Sounds like some kind of snap mount is missing
[09:07]  * duflu doesn't know about such things
[09:07] <duflu> jamesh, ?
[09:08] <jamesh> erGoline: first things first: if you open a shell and type "echo $XDG_DATA_DIRS", does it show /var/lib/snapd/desktop/applications ?
[09:08] <erGoline> The two missing apps have beeen installed via Gnome Software (with snap)
[09:08] <jamesh> in the overall list of directories
[09:09] <erGoline> jamesh, empty!
[09:10] <Laney> snapd needs a user environment generator - the environment setup doesn't work in all cases currently
[09:10] <jamesh> erGoline: that is surprising: it should be set when you log in.
[09:11] <jamesh> erGoline: is there anything unusual about your setup?  Different user shell, customised method of starting the desktop, etc?
[09:11] <duflu> jamesh, zsh
[09:15] <jamesh> snapd relies on a file in /etc/profile.d being sourced during login to add to XDG_DATA_DIRS.  I guess either the default zshrc isn't doing that, or a user zshrc is overriding whatever does that?
[09:17] <erGoline> jamesh, I use zsh, nothing fancy, all installed in the standard way
[09:18] <erGoline> jamesh, I think yo are right, someone is having a similar problem: https://github.com/Sarcasm/zuko
[09:19] <jamesh> erGoline: yep.  Just checked the bug list and found https://bugs.launchpad.net/snapd/+bug/1775340 (with close to a year of inactivity)
[09:19] <ubot5`> Ubuntu bug 1775340 in snapd "Make snapd zsh aware" [Medium,Triaged]
[09:19] <duflu> Also bug 1640514
[09:19] <ubot5`> bug 1640514 in snapd (Ubuntu Xenial) "/snap/bin is not added to the PATH when using zsh" [Undecided,Confirmed] https://launchpad.net/bugs/1640514
[09:22] <duflu> erGoline, I think that's a conclusion for now. Please subscribe to the above two bugs
[09:26] <erGoline> Ok thanks!
[09:27] <duflu> Sorry it's not a fix. But we at least found the right pages for the problem :)
[09:28] <jamesh> Laney: would a systemd environment generator actually help for processes not started by the user systemd instance?
[09:28] <jamesh> (e.g. gnome-shell?)
[09:28] <erGoline> duflu, yes this is the right path, I'm going to investigate, thank you again :)
[09:29] <jamesh> or is this something that will help once everything is started by systemd? :-)
[09:43] <jamesh> erGoline: one other thing to check: is /snap/bin on $PATH in your shell?
[09:44] <jamesh> if so, it might indicate /usr/lib/environment.d/990-snapd.conf is being applied even though the /etc/profile.d bits are ignored
[09:44] <erGoline> jamesh, duflu, this solution solves the problem :) https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1640514/comments/18
[09:44] <ubot5`> Ubuntu bug 1640514 in snapd (Ubuntu Xenial) "/snap/bin is not added to the PATH when using zsh" [Undecided,Confirmed]
[09:46] <erGoline> jamesh, yes, /snap/bin is in the $PATH
[09:46] <jamesh> okay, so that's an environment.d based solution again.  Good
[09:46] <jamesh> (not zsh specific)
[09:48] <Laney> jamesh: it works, but I can't remember exactly why; maybe gnome-session retrieves the environment from logind or similar
[09:48] <jamesh> Laney: that sounds familiar, yeah.
[09:48] <Laney> sorry for the delay, my desktop locked up
[09:49] <Laney> May 01 10:25:06 raleigh.local kernel: BUG: unable to handle kernel paging request at 000000040001f38a
[09:49] <Laney> May 01 10:25:06 raleigh.local kernel: #PF error: [normal kernel read fault]
[09:51] <jamesh> Laney: the bit I remembered was /etc/X11/Xsession.d/95dbus_update-activation-env, but that's doing the opposite: stuffing a snapshot of the env into dbus/systemd
[09:51] <jamesh> maybe pam_systemd is doing the environment setup?
[09:53] <Laney> don't think it's that, because it does not work for VT sessions
[09:53] <Laney> annoyingly
[09:57] <jamesh> maybe something is doing roughly the equivalent of "export $(systemctl --user show-environment)" somewhere
[09:57] <Laney> yup
[09:58] <Laney> environment handling is one of the rough parts of the 'user' concept I think
[09:58] <Laney> like how I SSH to my laptop and things like the GPG agent happen inside the GNOME session rather than the SSH session
[09:59] <jamesh> no one runs an ssh daemon on a desktop system though :-)
[10:00] <Laney> 😈
[10:01] <jamesh> erGoline: I'll see if I can push that environment.d thing upstream for snapd.  You shouldn't need any user specific hacks just because you changed the default shell.
[10:01] <erGoline> jamesh, thanks!
[10:02] <Laney> might want to look at what flatpak's done
[10:03] <Laney> they've got it in a few different places, but each time checking to not add dupes, basically
[10:18] <erGoline> Some suggestion on the best gesture manager? I'm checking https://gitlab.com/cunidev/gestures
[10:35] <Laney> Trevinho: mutter/shell srus uploaded, a couple of bugs in there need SRUifying though
[10:36] <Laney> bug #1813716 has tasks for shell - should they be deleted?
[10:36] <ubot5`> bug 1813716 in mutter (Ubuntu Eoan) "gnome-shell crashed with SIGSEGV in meta_x11_display_get_xdisplay → detach_pixmap → meta_surface_actor_x11_dispose → g_object_unref → ObjectInstance → → release_native_object" [Medium,In progress] https://launchpad.net/bugs/1813716