[Pkg-xfce-devel] Bug#846222: x11-common: Please provide a default xsession in /usr/share/xsessions

Michael Biebl biebl at debian.org
Sun Nov 5 23:32:16 UTC 2017


Hi

On Tue, 29 Nov 2016 12:07:26 +0100 Yves-Alexis Perez <corsac at debian.org>
wrote:
> On Tue, 2016-11-29 at 11:52 +0100, Maximiliano Curia wrote:
> > Thanks to the #845948 report against sddm, we noticed that the "Default 
> > Xsession" xsession desktop file is being provided by the lightdm display 
> > manager (in the /usr/share/xsessions/lightdm-xsession.desktop file). And since: 
> > 
> >  - This xsession file is useful for other display managers, such as sddm, that
> >    uses the /usr/share/xsessions/*.desktop to allow the users to choose their
> >    preferred sessions.
> > 
> >  - This ends up calling /etc/X11/Xsession default which is the only way to use
> >    the user's ~/.xsession file
> > 
> >  - The script that processes the "default" parameter
> >    (/etc/X11/Xsession.d/20x11-common_process-args) as a special case is
> >    provided by the x11-common package.
> > 
> > I believe, it would be better to this file in the x11-common package (renamed 
> > as
> > /usr/share/xsessions/user-xsession.desktop or 
> > /usr/share/xsessions/default-xsession.desktop).
> 
> If other DM have the same behavior as LightDM, I guess it's a good idea
> indeed, although I'm wondering if it can have side effects.
> 
> In any case, keep me in the loop so I can remove the file from LightDM when
> needed :)

Fwiw, we just discussed today to drop
/usr/share/gdm/BuiltInSessions/default.desktop from gdm3 as well
(which starts Xsession).

It would be nice if such a xsession.desktop file would be provided by a
common package, which invididual desktop environments can depend on, if
they want. This would have the benefit, that we would have no
duplication in all the different display manager.

I would prefer though, if that xsession.desktop file is *not* provided
by x11-common, as some desktop environments might actually choose not
wanting to have such an entry in the display manager menu, and
x11-common is not really uninstallable.
So a separate binary package seems like the most flexible approach to me.

lightdm's /usr/share/xsessions/lightdm-xsession.desktop file might be a
good basis for such a package.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20171106/a4becb54/attachment.sig>


More information about the pkg-gnome-maintainers mailing list