MDM now allows distributions to define their own default configuration in /usr/share/mdm/distro.conf.
For any given configuration key, the value is looked up in the following files and in the following order:
- /etc/mdm/mdm.conf (set up by the user with or without mdmsetup)
- /usr/share/mdm/distro.conf (provided by distributions)
- /usr/share/mdm/defaults.conf (provided by MDM)
This is obviously great news for distributions, but it’s also good news to users as distributions are now able to set their defaults without hacking the MDM package (which introduced differences between Git versions of MDM and distribution packages) or worse the /etc/mdm/mdm.conf file.
If in the past you upgraded MDM and you were surprised to see it default to the Circle GDM theme for instance… well, this fixes it :)