[LightDM] lightdm-set-defaults and legacy gdmflexiserver support removed from LightDM 1.9

Robert Ancell robert.ancell at gmail.com
Thu Nov 7 00:32:28 PST 2013


Hi all,

I've removed two legacy features from LightDM:

1. lightdm-set-defaults

This tool was created so that scripts could easily modify the LightDM
configuration, in particular so packages could modify it on installation /
removal. This is not required since LightDM 1.8 as you can now create a
snippet of configuration in /etc/lightdm/lightdm.conf.d or
/usr/share/lightdm/lightdm.conf.d.

For example, previously you might have set the default session like this:

$ sudo /usr/lib/lightdm/lightdm-set-defaults --session ubuntu

Now you should just create a file
/usr/share/lightdm/lightdm.conf.d/50-ubuntu-session.conf with the contents:

[SeatDefaults]
default-session=ubuntu

This works better as now you can have more than one session installed that
both have a configuration file like this. LightDM merges the configuration
together by the configuration files name alphabetically ensuring only one
session value is used. When one session is uninstalled it doesn't break the
others config like lightdm-set-defaults could.

2. gdmflexiserver

If you're still using gdmflexiserver to switch to the greeter you need to
have switch to using the D-Bus interface directly or dm-tool.

Please reply here if these changes will cause some problems for anyone.

--Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20131107/d582a265/attachment.html>


More information about the LightDM mailing list