Is this a `gnome-session` issue? The source sayeth (@ gnome-
session/main.c:422)

        /* From 3.14 GDM sets XDG_CURRENT_DESKTOP. For compatibility with
         * older versions of GDM,  other display managers, and startx,
         * set a fallback value if we don't find it set.
         */

There doesn't seem to be any other location in the code that sets
`XDG_CURRENT_DESKTOP` and this code hasn't changed between the two
versions listed above.

Is this because of a change to `gdm` ? Does it work if you switch to
lightdm?

`gdm` sets this from the session definition, which is patched into
gnome-session by

    debian/patches/ubuntu/ubuntu-sessions.patch

(the patch file has changed between revisions but mostly to remove a
community session)


gdm fetches this @ daemon/gdm-session.c:2612  get_session_desktop_names()

        filename = g_strdup_printf ("%s.desktop", get_session_name (self));
        g_debug ("GdmSession: getting desktop names for file '%s'", filename);
        keyfile = load_key_file_for_file (self, filename, NULL, NULL);
        if (keyfile != NULL) {
              gchar **names;

              names = g_key_file_get_string_list (keyfile, 
G_KEY_FILE_DESKTOP_GROUP,
                                                  "DesktopNames", NULL, NULL);

Can't see any obvious changes in GDM between Impish and Jammy that would
cause this just from looking at the diffs though.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1969357

Title:
  Unity7 crashes on Jammy with 22.04's gnome-session version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1969357/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to