Sigh. Display managers should NEVER source .profile at all... that file is exclusively for interactive shells, as is explicitly stated in all of the man pages of every shell ever. I just opened Bug #1468832 about this, where I also explained how to properly accomplish what people want here.
Sigh. Display managers should NEVER source .profile at all... that file is exclusively for interactive shells, as is explicitly stated in all of the man pages of every shell ever. I just opened Bug #1468832 about this, where I also explained how to properly accomplish what people want here.