On Fri, Jun 23, 2017 at 07:59:54AM +0200, Didier Roche wrote:
> My heuristic would be for avoiding the prompt:
> - ubuntu-session installed
I guess this could actually be in the postinst of ubuntu-session itself
if we make sure that it is configured before gdm3 (e.g. by Depends:
ubuntu-session ← gdm3, assuming there's no circular dependency problem
[all of the Depends of ubuntu-session are already in Depends of gdm3 so
we won't pull any extra packages onto users' systems]).
And I think we'd only do it when upgrading to this version, so this
check would not fire for new installs or any subsequent upgrade if the
user changes the setting back.
> - that session is set as current session for at least one user on the
> machine.
Good idea — so if we need to do need to port the default sessions over
from lightdm → gdm3, we could maybe do this in the same script and then
this could remember if it ever saw 'ubuntu'.
Right now I think this might be the best we can reasonably do. Some
people will get moved onto gdm3 when they are using flavours that want
to stay on lightdm, if they also have ubuntu-session installed and
another user on their system, but in that case we can release note /
document the way to switch back.
Cheers,
--
Iain Lane [ iain@orangesquash.org.uk ]
Debian Developer [ laney@debian.org ]
Ubuntu Developer [ laney@ubuntu.com ]