You are not logged in.

#1 2020-05-12 21:26:45

ronaldolobato
Member
From: Brasil
Registered: 2014-06-29
Posts: 4
Website

PATH being ignored in environment variables on Wayland Gnome

Few months ago I have configured ~/.local/bin to the PATH in ~/.config/environment.d/envvars.conf according https://wiki.archlinux.org/index.php/En … nvironment, it was working, but recently I noticed that this PATH started to be ignored. Using

systemctl --user show-environment

I saw that the other variables configured still work.

Following https://wiki.gnome.org/Initiatives/Wayland/SessionStart I created a PATH in an .env file and dropped in /usr/share/gdm/env.d/, now ~/.local/bin appears in echo $PATH, but I am still confused why setting PATH in config/environment.d/envvars.conf is ignored, any ideia?

Offline

#2 2020-05-12 21:28:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,516
Website

Re: PATH being ignored in environment variables on Wayland Gnome

It sounds like it isn't ignored, but is overriden by a child process (re)setting it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB