Comment 21 for bug 857326

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

On 2011-10-06 22:29, MarianoAbsatz wrote:
> if I understand right from the previous 2 comments, current (natty) lxdm
> ubuntu package DOES NOT process ~/.profile and oneiric's will,

Right.

> and the bug was only present in ubuntu?

I don't think that upstream lxdm sourced ~/.profile in any distribution. So I suppose that the answer to that part of the question depends on which patches other distributions apply.

> I have the same problem with environment variables and other stuff
> (though not language related) not being processed after I switched from
> unity to lubuntu session.
>
> Is it possible that lxdm is not even reading /etc/profile?

So it seems as regards versions before 0.4.1-0ubuntu3.

But if you like you can edit /etc/lxdm/Xsession manually. In the beginning of http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/lxdm/oneiric/view/head:/data/Xsession you see how it's done.

> Where can I set environment variables that are defined no matter what
> desktop environment I choose?

You mean login program, don't you? I don't know; probably an lxdm bug isn't an optimal place for asking that question. ;-)