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

Yves-Alexis Perez corsac at debian.org
Fri Jan 4 16:19:52 GMT 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 2019-01-04 at 12:33 -0300, Maximiliano Curia wrote:
> I can only speak for the sddm's Xsession which is a wrapper arround Debian's 
> /etc/X11/Xsession,

I think if there are improvement to be made, they should go to
/etc/X11/Xsession in order to benefit everyone.

But:
>  what it does is to try to set the corresponding shell 
> environment by loading the user profile files.

Shell environment is enviroment for the shell, not for other stuff.
Especially, .profile is for bash, not for graphical applications.

> The sourced profiles take care of things like adding /usr/games to the PATH, 
> which was loudly asked by our users when the wrapper wasn't present.

If people are missing environment variables on their session, the right way to
do it is to add them to .xsessionrc. See also environment.d(5) for more global
ways.

Also, for LightDM, we updated the code so the default PATH matches Debian
expectations: 
https://sources.debian.org/src/lightdm/1.26.0-3/debian/patches/01_set-default-path.patch/

Regards,
- -- 
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlwvh6gACgkQ3rYcyPpX
RFvjeAf9ENgBnGeVtG7VftFZf97in7z/C0KhwDvtSplTLknozG7liQUUwD9hwL93
bciWX4+9oexIIx10t8KiZyhUeUT9PhV2xsNp689MEEyg6mZY795aZ7zfjMPsEQJz
/yYYra8yvsrdtfe0NgIl//H/NWUrgddvE8ogYi0scZ1fSaUAvKAr78dmPwPBNNQw
p9UMgoymv2mIs2n9G0SZmV+UV96a4xYJ9PV+CtAFkv4Zl3V+qXgT3058lXiD/Wqc
dybOsZ1Zw2q1/i0qZw9SScxTmF7tYRD51hDypuaz0ZwbtCmRJUzIZykkWvhHdcYA
7XMGOWcaozm0PAjaQ5QWfXeDMy/F3g==
=PRpx
-----END PGP SIGNATURE-----



More information about the pkg-gnome-maintainers mailing list