To enable this in LightDM, set X-LightDM-DesktopName in /usr/share/xsessions/*.desktop. i.e. for Unity:
/usr/share/xsessions/ubuntu.desktop: [Desktop Entry] Name=Ubuntu Comment=This session logs you into Ubuntu Exec=gnome-session --session=ubuntu TryExec=unity Icon= Type=Application X-LightDM-DesktopName=Unity X-Ubuntu-Gettext-Domain=gnome-session-3.0 The registered desktop names are in http://standards.freedesktop.org /menu-spec/latest/apb.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1212408 Title: lightdm needs to set $XDG_CURRENT_DESKTOP To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1212408/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs