It seems that gdm now supports setting XDG_CURRENT_DESKTOP but uses the DesktopNames [1] property. It might make sense to migrate LightDM to uses that too.
[1] https://bugzilla.gnome.org/show_bug.cgi?id=727546 ** Bug watch added: GNOME Bug Tracker #727546 https://bugzilla.gnome.org/show_bug.cgi?id=727546 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/1212408 Title: lightdm/gdm needs to set $XDG_CURRENT_DESKTOP To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1212408/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs