Comment 22 for bug 794315

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

On 2015-03-22 20:02, seeker5528 wrote:
> Is it a prerequisite?

Maybe a bad choice of words.

> It was done in the past so there is a strong argument that is should
> continue.

Right.

> If it is Ubuntu policy that '~/.profile' get sourced by the display
> manger, ...

Well, I'm not the one who should make statements about the "policy", but I made a couple of remarks below.

> https://help.ubuntu.com/community/EnvironmentVariables
>
> Gives the expectation it should work...

Actually I have edited that page, and in connection with doing so I started a thread on the topic at the ubuntu-devel mailing list.

https://lists.ubuntu.com/archives/ubuntu-devel/2013-December/037899.html

> But right after they link to
>
> http://userbase.kde.org/Session_Environment_Variables/en
>
> Which does not say anything about '/etc/profile' or '~/.profile'.
>
> So should I take it that I should not expect kdm to source these files
> or is the sole purpose of the link to give you additional KDE specific
> options?
>
> And I don't see on the community documentation page anyting about
> '~/.xsessionrc' (Debian) or '~/.xprofile' (Redhat).

Well, the page is part of an Ubuntu resource, and not an everything Linux ditto. It's also a wiki page, so you are free to edit it. ;) OTOH, I doubt that adding info about all configuration file variants in every Linux distro would be an improvement...

> More discussion there than should be had in a bug report for lightdm,
> presenting them here so the questions are out there for future thought.

Since this bug report was closed long ago, it's unlikely that this is a proper place for your thoughts. I would recommend that you bring the matter up on the ubuntu-devel or ubuntu-devel-discuss mailing list.