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 Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1212408

Title:
  lightdm needs to set $XDG_CURRENT_DESKTOP

Status in Light Display Manager:
  Fix Released
Status in “gnome-session” package in Ubuntu:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released

Bug description:
  Since the switch to upstart, some processes in the user environment,
  such as gnome-screensaver, now get launched without
  $XDG_CURRENT_DESKTOP being set. This is currently causing screen
  locking issues.

  This used to get set by gnome-session, but it is no longer high enough
  in the process tree to set it for the complete user session.

  Consensus in #ubuntu-desktop was that lightdm should be setting it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1212408/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to