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 Desktop
Packages, 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
Status in gnome-session package in Ubuntu:
Confirmed
Status in unity package in Ubuntu:
Confirmed
Bug description:
Unity7 seems to crash on 22.04 when logging in after installing Ubuntu
(it works fine in the live session). I then tried installing the 21.10
gnome-session package on 22.04 and Unity7 then worked perfectly fine.
Also, XDG_CURRENT_DESKTOP is set to GNOME instead of
"Unity:7;Unity:ubuntu" with the Jammy version, which is really
unexpected and might be causing these issues.
seb128 and 3vin1o: Neither I nor Khurshid are sure about what has
changed between the two packages, and I think this is a critical bug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1969357/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp