Alexis <flexibe...@gmail.com> writes:
> In any case, the pam_env(8) man page says that user environment files
> are not only deprecated, but:
>
>> will be removed completely at some point in the future.

Okay this explains it :)


> Well, one factor: are you using a display manager, like GDM? Or are
> you starting your GNOME session from the console?


> (i might not be able to offer any help, as i use OpenRC, not systemd,
> and don't use a display manager - over time i've found them to be more
> trouble than they're worth for my use-case. i start my Wayland
> sessions - previously Sway, currently Wayfire - from the console, and
> i set the environment for my login session, including PATH, in
> ~/.zprofile, Zsh's equivalent of ~/.bash_profile.)

I am starting GNOME by having the gdm systemd service enbaled. Thanks
for sharing your setup though.

I suspect that since PATH is the only variable I tested that is set
elsewhere, the reason that it in particular is not being set may have to
do with order of operations. I later tried to set EDITOR this way but
systemctl --user show-environment after a daemon-reload gave me that
EDITOR was the default /bin/nano.

Best,
Jishnu

Reply via email to