/srv/irclogs.ubuntu.com/2019/05/01/#ubuntu-desktop.txt

willcookeo/05:16
willcookeBlargh.  Jet lag is back, plus I have a head cold.  Might keep a low profile this morning05:17
dufluHi willcooke. <something> morning then05:19
willcooke:D05:19
dufluYou almost made morning in Australia, which is obviously wrong05:20
dufluAlthough right given that was your previous timezone05:20
willcookeheh05:23
willcookeIts going to be a quiet day today anyway I think, public hol in much of Europe05:23
dufluThat's good. I need to duck out in a while anyway05:24
dufluDamn. We released a gstreamer1.0-vaapi that doesn't work in Xorg for Intel GPUs05:29
dufluIt worked the last time I tested it before release05:29
dufluObviously not recently enough05:29
willcookeoh05:30
willcookeI didnt notice, shows how much I use that then05:30
dufluI 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 totem05:51
willcookeis there a fix for gstreamer1.0-vaapi?05:52
dufluNot 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 package05:53
dufluI also don't remember all the related parameters to gst-play-1.0 to answer that question better right now05:54
willcookenp06:06
dufluI forgot how much I hate gstreamer06:54
dufluBut I am finding some answers06:55
marcustomlinsonmorning duflu willcooke07:45
dufluMorning marcustomlinson07:46
willcookehi marcustomlinson07:50
Laneyyeehaw08:00
marcustomlinsonhowdy Laney!08:04
Laneyhey marcustomlinson08:08
Laneyhow you getting on?08:08
marcustomlinsonYeah alright thanks, getting the hang of the release processes. LibreOffice is a bit of a beast so a decent project to learn from08:09
marcustomlinsonJust a bit of a beast though :P I realise there are much worse08:10
Laneyyes it is /o\08:10
willcookemarcustomlinson, Laney:  I'm under the weather today so will be afk a bit.  (In bed with my laptop atm.)08:13
Laneyas you were08:14
Laney(netflix?)08:14
LaneyFFS that update-manager stealing focus thing just happened again08:14
dufluMorning Laney08:14
marcustomlinsonget better willcooke08:14
Laney👋 duflu08:15
LaneyI wonder if the Android list of emoji aliases is free software08:16
Laneywould be good to feed that to Characters08:16
dufluIn the future there will be no letters08:23
erGolineHi! 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
dufluerGoline, does the problem happen with any built-in apps or just some you installed yourself?08:55
erGolineduflu, I detected the problem with some apps installed by myself, I don't know if this hits other system apps08: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.08:58
erGolineduflu, I don't know if it could be related, but I use zsh09:04
dufluMaybe ignore the terminal shell. Focus on the graphical shell only09:05
dufluAlthough... is the problem applicable to snaps only?09:06
dufluOr do you see it with apps installed as debs too?09:06
erGolineI point out the shell because I cannot find Sublime Text in the drawer *and* subl, the related terminal command09:06
dufluSounds like some kind of snap mount is missing09:06
* duflu doesn't know about such things09:07
duflujamesh, ?09:07
jamesherGoline: first things first: if you open a shell and type "echo $XDG_DATA_DIRS", does it show /var/lib/snapd/desktop/applications ?09:08
erGolineThe two missing apps have beeen installed via Gnome Software (with snap)09:08
jameshin the overall list of directories09:08
erGolinejamesh, empty!09:09
Laneysnapd needs a user environment generator - the environment setup doesn't work in all cases currently09:10
jamesherGoline: that is surprising: it should be set when you log in.09:10
jamesherGoline: is there anything unusual about your setup?  Different user shell, customised method of starting the desktop, etc?09:11
duflujamesh, zsh09:11
jameshsnapd 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:15
erGolinejamesh, I use zsh, nothing fancy, all installed in the standard way09:17
erGolinejamesh, I think yo are right, someone is having a similar problem: https://github.com/Sarcasm/zuko09:18
jamesherGoline: 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
dufluAlso bug 164051409: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/164051409:19
dufluerGoline, I think that's a conclusion for now. Please subscribe to the above two bugs09:22
erGolineOk thanks!09:26
dufluSorry it's not a fix. But we at least found the right pages for the problem :)09:27
jameshLaney: 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
erGolineduflu, yes this is the right path, I'm going to investigate, thank you again :)09:28
jameshor is this something that will help once everything is started by systemd? :-)09:29
jamesherGoline: one other thing to check: is /snap/bin on $PATH in your shell?09:43
jameshif so, it might indicate /usr/lib/environment.d/990-snapd.conf is being applied even though the /etc/profile.d bits are ignored09:44
erGolinejamesh, duflu, this solution solves the problem :) https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1640514/comments/1809:44
ubot5`Ubuntu bug 1640514 in snapd (Ubuntu Xenial) "/snap/bin is not added to the PATH when using zsh" [Undecided,Confirmed]09:44
erGolinejamesh, yes, /snap/bin is in the $PATH09:46
jameshokay, so that's an environment.d based solution again.  Good09:46
jamesh(not zsh specific)09:46
Laneyjamesh: it works, but I can't remember exactly why; maybe gnome-session retrieves the environment from logind or similar09:48
jameshLaney: that sounds familiar, yeah.09:48
Laneysorry for the delay, my desktop locked up09:48
LaneyMay 01 10:25:06 raleigh.local kernel: BUG: unable to handle kernel paging request at 000000040001f38a09:49
LaneyMay 01 10:25:06 raleigh.local kernel: #PF error: [normal kernel read fault]09:49
jameshLaney: 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/systemd09:51
jameshmaybe pam_systemd is doing the environment setup?09:51
Laneydon't think it's that, because it does not work for VT sessions09:53
Laneyannoyingly09:53
jameshmaybe something is doing roughly the equivalent of "export $(systemctl --user show-environment)" somewhere09:57
Laneyyup09:57
Laneyenvironment handling is one of the rough parts of the 'user' concept I think09:58
Laneylike how I SSH to my laptop and things like the GPG agent happen inside the GNOME session rather than the SSH session09:58
jameshno one runs an ssh daemon on a desktop system though :-)09:59
Laney😈10:00
jamesherGoline: 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
erGolinejamesh, thanks!10:01
Laneymight want to look at what flatpak's done10:02
Laneythey've got it in a few different places, but each time checking to not add dupes, basically10:03
erGolineSome suggestion on the best gesture manager? I'm checking https://gitlab.com/cunidev/gestures10:18
LaneyTrevinho: mutter/shell srus uploaded, a couple of bugs in there need SRUifying though10:35
Laneybug #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/181371610:36

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