On Tue, Apr 27, 2021 at 12:19:36PM +0000, [email protected] wrote:
> On Tue, Apr 27, 2021 at 09:37:05AM +0200, Alexandre Ratchov wrote:
> > If you're using a display manager (xenodm or whatever), you've to
> > include your .profile in your session login script (X equivalent of
> > shell's ~/.profile concept), so the envoronment (and other global
> > login settings) from your .profile become visible to all X programs,
> > not only xterm. For instance put:
> >
> > . ~/.profile
> >
> > at the beginning of our ~/.xsession
> >
> > If you're using xinit(1), your ~/.profile is already loaded by
> > the login shell.
>
> That seems the right way to go, if the other suggested solution of defining
> ENV doesn't do the trick.
>
Note that ENV processing is only done for interactive shells.
Traditionally, ENV would point the a ~/.kshrc file that contains init
commands only relevant for interactive use. See the ksh man page for
details.
-Otto