Re: The same environment variables everywhere

2017-02-27 Thread deloptes
to...@tuxteam.de wrote: > Yes, all of those! But I don't see how that's an answer to the OP's > legitimate question: how to keep things that belong together in one > place, instead of repeating it in every bit of config? I use always /etc/profile for non user specific or X stuff. Never had a

Re: The same environment variables everywhere

2017-02-27 Thread Nicolas George
Le nonidi 9 ventôse, an CCXXV, Teemu Likonen a écrit : > I moved my variable assignments to ~/.environment.sh and source that to > ~/.profile and ~/.xsession. Zsh has a ~/.zshenv that is meant exactly for that. It is sourced by all zsh instances, even those started as interpreters. It is very

Re: The same environment variables everywhere

2017-02-27 Thread Teemu Likonen
David Wright [2017-02-27 10:56:55-06] wrote: >> systemctl --user import-enviroment > > Is that typo actually in the file? No. I just (mis)typed those "files" here. In practice they contain quite a lot more than that. >> ~/.xsession: >> >> . ~/.profile > > My profile has side effects.

Re: The same environment variables everywhere

2017-02-27 Thread David Wright
On Mon 27 Feb 2017 at 15:19:27 (+0200), Teemu Likonen wrote: > to...@tuxteam.de [2017-02-27 09:12:28+01] wrote: > > > On Mon, Feb 27, 2017 at 09:07:19AM +0100, deloptes wrote: > >> So I do distinguish between settings for X session and for not X > >> session - at least two places for the

Re: The same environment variables everywhere

2017-02-27 Thread Teemu Likonen
to...@tuxteam.de [2017-02-27 09:12:28+01] wrote: > On Mon, Feb 27, 2017 at 09:07:19AM +0100, deloptes wrote: >> So I do distinguish between settings for X session and for not X >> session - at least two places for the variables. Further more there >> are global and user specific ... etc > > Yes,

Re: The same environment variables everywhere

2017-02-27 Thread Greg Wooledge
On Sun, Feb 26, 2017 at 02:26:08PM +0200, Teemu Likonen wrote: > I would like to hear some ideas on how to set various environment > variables (PATH, MANPATH, EDITOR etc.) in one place that would make them > effective everywhere. My "everywhere" means: > > - X session started through lightdm

Re: The same environment variables everywhere

2017-02-27 Thread Elimar Riesebieter
* GiaThnYgeia [2017-02-27 11:38 +]: [...] > For a while I've been trying to set the locale but everytime I install a > package it returns locale not set returning to default C > I used /etc/environment, and no change. > I suspect this may be due to some skipped

Re: The same environment variables everywhere

2017-02-27 Thread GiaThnYgeia
to...@tuxteam.de: > On Mon, Feb 27, 2017 at 09:07:19AM +0100, deloptes wrote: >> Stefan Monnier wrote: > > I would like to hear some ideas on how to set various environment > variables (PATH, MANPATH, EDITOR etc.) in one place that would make them > effective everywhere. My

Re: The same environment variables everywhere

2017-02-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Feb 27, 2017 at 09:07:19AM +0100, deloptes wrote: > Stefan Monnier wrote: > > >>> I would like to hear some ideas on how to set various environment > >>> variables (PATH, MANPATH, EDITOR etc.) in one place that would make them > >>> effective

Re: The same environment variables everywhere

2017-02-27 Thread deloptes
Stefan Monnier wrote: >>> I would like to hear some ideas on how to set various environment >>> variables (PATH, MANPATH, EDITOR etc.) in one place that would make them >>> effective everywhere. My "everywhere" means: >>> - X session started through lightdm and ~/.xsession script >>> - Linux

Re: The same environment variables everywhere

2017-02-26 Thread Stefan Monnier
>> I would like to hear some ideas on how to set various environment >> variables (PATH, MANPATH, EDITOR etc.) in one place that would make them >> effective everywhere. My "everywhere" means: >> - X session started through lightdm and ~/.xsession script >> - Linux console login (bash) >> - user's

Re: The same environment variables everywhere

2017-02-26 Thread Matthias Bodenbinder
Am 26.02.2017 um 13:26 schrieb Teemu Likonen: > I would like to hear some ideas on how to set various environment > variables (PATH, MANPATH, EDITOR etc.) in one place that would make them > effective everywhere. My "everywhere" means: > > - X session started through lightdm and ~/.xsession

The same environment variables everywhere

2017-02-26 Thread Teemu Likonen
I would like to hear some ideas on how to set various environment variables (PATH, MANPATH, EDITOR etc.) in one place that would make them effective everywhere. My "everywhere" means: - X session started through lightdm and ~/.xsession script - Linux console login (bash) - user's systemd