GNOME Bugzilla – Bug 709292
applications category isn't showing apps
Last modified: 2018-05-22 13:01:24 UTC
Created attachment 256311 [details] screenshot The logs in the Applications category aren't from apps.
Since 619a1c700c192cc4ebc65f82a5a31c8ea8a57406, only events with the same PID as the user running Logs are shown in the Applications category, which cuts out pretty much all daemons and system services. The next step would be lookups of .desktop files based on binary name, but this can only happen once systemd-as-a-user-session happens, as currently every event is logged by gnome-session.
We should use trusted information that we have for logs from sandboxed applications. Here is what I see in a log from a flatpak sandbox: "_SYSTEMD_CGROUP" : "/user.slice/user-1000.slice/user@1000.service/flatpak-org.gnome.PortalTest-5681.scope", from this, we can easily extract the app id (org.gnome.PortalTest), and from that, you can load the desktop file org.gnome.PortalTest.desktop, and that gives you all the metadat you need to display the application properly.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-logs/issues/2.