You have been subscribed to a public bug:
This is a wishlist item for LightDM in Oneiric.
Currently, LightDM uses the /usr/lib/lightdm/lightdm-set-defaults
command for packages to change the default user session and greeter. If
unity-greeter is not installed, and /etc/lightdm/lightdm.conf specifies
the default (lightdm-gtk-greeter), then installing unity-greeter will
update the .conf file to use same by invoking the aforementioned command
in its postinst script. (Likewise, when unity-greeter is removed, the
prerm script sets things back the way they were.)
This sort of behavior is already standardized in Debian/Ubuntu via the
update-alternatives(8) mechanism. I think it would be good to consider
using that infrastructure rather than rolling one's own. Presumably,
there would be a /usr/share/xgreeters/default-lightdm-greeter
alternative that points to whatever the "best" LightDM greeter is
installed; lightdm.conf would then specify "default-lightdm-greeter"
unless it has been manually modified by the user to use something else
explicitly.
Ideally, the same could be done for user-session, but this would require
all available sessions to be represented in the update-alternatives
system (not currently the case as I understand) and so would be a larger
project to coordinate.
** Affects: lightdm (Ubuntu)
Importance: Undecided
Status: New
--
Use update-alternatives(8) to set default greeter
https://bugs.launchpad.net/bugs/883175
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp